Finishing the switch to types.h and the resulting cleanup.
[quassel.git] / src / core / sqlitestorage.cpp
index b439aef..75119bb 100644 (file)
@@ -521,7 +521,7 @@ QList<Message> SqliteStorage::requestMsgRange(BufferInfo buffer, int first, int
 
 QString SqliteStorage::backlogFile(bool createPath) {
   // kinda ugly, but I currently see no other way to do that
 
 QString SqliteStorage::backlogFile(bool createPath) {
   // kinda ugly, but I currently see no other way to do that
-#ifdef _WINDOWS
+#ifdef Q_OS_WIN32
   QString quasselDir = QDir::homePath() + qgetenv("APPDATA") + "\\quassel\\";
 #else
   QString quasselDir = QDir::homePath() + "/.quassel/";
   QString quasselDir = QDir::homePath() + qgetenv("APPDATA") + "\\quassel\\";
 #else
   QString quasselDir = QDir::homePath() + "/.quassel/";