diff options
author | Ken Moore <moorekou@gmail.com> | 2015-08-30 10:17:40 -0400 |
---|---|---|
committer | Ken Moore <moorekou@gmail.com> | 2015-08-30 10:17:40 -0400 |
commit | d5e6ffd93b8e8f6a48f8c629c10e539fc1af5f8b (patch) | |
tree | f1f33f49619b73bd885b3ae3344bc314e818492e /lumina-fm | |
parent | Oops, forgot to have the link automatically open the web browser. (diff) | |
download | lumina-d5e6ffd93b8e8f6a48f8c629c10e539fc1af5f8b.tar.gz lumina-d5e6ffd93b8e8f6a48f8c629c10e539fc1af5f8b.tar.bz2 lumina-d5e6ffd93b8e8f6a48f8c629c10e539fc1af5f8b.zip |
Change the DEBUG define in DirData.h to DIR_DEBUG: leave the DEBUG variables for the various .cpp files later instead of this possible conflict.
Diffstat (limited to 'lumina-fm')
-rw-r--r-- | lumina-fm/DirData.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/lumina-fm/DirData.h b/lumina-fm/DirData.h index 26cfb3ad..419a1e9c 100644 --- a/lumina-fm/DirData.h +++ b/lumina-fm/DirData.h @@ -20,7 +20,7 @@ #define ZSNAPDIR QString("/.zfs/snapshot/") -#define DEBUG 0 +#define DIR_DEBUG 0 //Class used for keeping track of directory information in the HASH class LDirInfoList{ @@ -117,7 +117,7 @@ public: public slots: void GetDirData(QString ID, QString dirpath){ - if(DEBUG){ qDebug() << "GetDirData:" << ID << dirpath; } + if(DIR_DEBUG){ qDebug() << "GetDirData:" << ID << dirpath; } //The ID is used when returning the info in a moment //Make sure to use the canonical path in the HASH search - don't use QString canon = QFileInfo(dirpath).canonicalFilePath(); @@ -132,12 +132,12 @@ public slots: HASH[canon].update(showHidden); } } - if(DEBUG){ qDebug() << " -- Dir Data Found:" << ID << dirpath << HASH.value(canon).list.length(); } + if(DIR_DEBUG){ qDebug() << " -- Dir Data Found:" << ID << dirpath << HASH.value(canon).list.length(); } emit DirDataAvailable(ID, dirpath, HASH.value(canon).list); } void GetSnapshotData(QString ID, QString dirpath){ - if(DEBUG){ qDebug() << "GetSnapshotData:" << ID << dirpath; } + if(DIR_DEBUG){ qDebug() << "GetSnapshotData:" << ID << dirpath; } QString base; QStringList snaps; //Only check if ZFS is flagged as available if(zfsavailable){ @@ -160,7 +160,7 @@ public slots: } } - //if(DEBUG){ qDebug() << " -- Snap Data Found:" << ID << base << snaps; } + //if(DIR_DEBUG){ qDebug() << " -- Snap Data Found:" << ID << base << snaps; } emit SnapshotDataAvailable(ID, base, snaps); } |