mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2025-12-23 08:48:07 -06:00
Use QBT_EXT in all places
Cleanup headers on the way
This commit is contained in:
@@ -28,16 +28,17 @@
|
||||
* Contact : chris@qbittorrent.org
|
||||
*/
|
||||
|
||||
#include <QDebug>
|
||||
#include "torrentcontentmodelfolder.h"
|
||||
|
||||
#include "base/bittorrent/torrenthandle.h"
|
||||
|
||||
TorrentContentModelFolder::TorrentContentModelFolder(const QString &name, TorrentContentModelFolder *parent)
|
||||
: TorrentContentModelItem(parent)
|
||||
{
|
||||
Q_ASSERT(parent);
|
||||
m_name = name;
|
||||
// Do not display incomplete extensions
|
||||
if (m_name.endsWith(".!qB"))
|
||||
if (m_name.endsWith(QB_EXT))
|
||||
m_name.chop(4);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user