BUGFIX: Use an INI file instead of the registry on Windows (More reliable)

This commit is contained in:
Christophe Dumez
2010-07-16 14:39:19 +00:00
parent fb8d52e6e0
commit a1157c78b2
4 changed files with 79 additions and 7 deletions

View File

@@ -21,6 +21,9 @@ DEFINES += VERSION_MINOR=3
DEFINES += VERSION_BUGFIX=0
win32 {
# Don't use the system registry on Windows
DEFINES += QSettings QIniSettings
# Adapt these paths on Windows
INCLUDEPATH += $$quote(C:/qbittorrent/msvc/boost_1_42_0)
INCLUDEPATH += $$quote(C:/qbittorrent/msvc/libtorrent-rasterbar-0.14.10/include)
@@ -287,7 +290,8 @@ HEADERS += misc.h \
filesystemwatcher.h \
preferences.h \
bandwidthscheduler.h \
scannedfoldersmodel.h
scannedfoldersmodel.h \
qinisettings.h
contains(DEFINES, DISABLE_GUI) {
HEADERS += headlessloader.h