Mercurial > retraceit
comparison src/folderselectdialog.cpp @ 112:9daf778feaf1 1.4
Fix usage of WIN32 macro. With c++11 this is no longer set.
_WIN32 is the better macro to use anyway.
author | Andre Heinecke <andre.heinecke@intevation.de> |
---|---|
date | Thu, 08 Dec 2016 15:34:07 +0100 |
parents | 48141e3c8903 |
children |
comparison
equal
deleted
inserted
replaced
111:e6b8f1590a01 | 112:9daf778feaf1 |
---|---|
267 foreach (const QString & subfolder, dir.entryList(QDir::Dirs | | 267 foreach (const QString & subfolder, dir.entryList(QDir::Dirs | |
268 QDir::Readable | | 268 QDir::Readable | |
269 QDir::NoDotAndDotDot)) { | 269 QDir::NoDotAndDotDot)) { |
270 qDebug() << "Looking at: " << subfolder; | 270 qDebug() << "Looking at: " << subfolder; |
271 QStringList itemData = subfolder.split(PATTERN_SEPERATOR); | 271 QStringList itemData = subfolder.split(PATTERN_SEPERATOR); |
272 qDebug () << "Item Data size" << itemData.size() << patternSize | |
273 << itemData; | |
272 if (itemData.size() != patternSize) { | 274 if (itemData.size() != patternSize) { |
273 errors << subfolder; | 275 errors << subfolder; |
274 qDebug() << "Folder does not match pattern: " << subfolder; | 276 qDebug() << "Folder does not match pattern: " << subfolder; |
275 continue; | 277 continue; |
276 } | 278 } |