Fix default temp path on Windows

Bump to rc11
This commit is contained in:
Christophe Dumez 2010-07-26 09:11:32 +00:00
commit 3c8326d3b6
2 changed files with 3 additions and 3 deletions

View file

@ -191,7 +191,7 @@ public:
static QString getTempPath() { static QString getTempPath() {
QIniSettings settings("qBittorrent", "qBittorrent"); QIniSettings settings("qBittorrent", "qBittorrent");
QString temp = QDir::home().absoluteFilePath("qBT_dir")+QDir::separator()+"temp"; QString temp = QDir(getSavePath()).absoluteFilePath("temp");
return settings.value(QString::fromUtf8("Preferences/Downloads/TempPath"), temp).toString(); return settings.value(QString::fromUtf8("Preferences/Downloads/TempPath"), temp).toString();
} }

View file

@ -12,9 +12,9 @@ CONFIG += qt \
# Update this VERSION for each release # Update this VERSION for each release
os2 { os2 {
DEFINES += VERSION=\'\"v2.3.0rc10\"\' DEFINES += VERSION=\'\"v2.3.0rc11\"\'
} else { } else {
DEFINES += VERSION=\\\"v2.3.0rc10\\\" DEFINES += VERSION=\\\"v2.3.0rc11\\\"
} }
DEFINES += VERSION_MAJOR=2 DEFINES += VERSION_MAJOR=2
DEFINES += VERSION_MINOR=3 DEFINES += VERSION_MINOR=3