Browse Source

Fix default temp path on Windows

Bump to rc11
adaptive-webui-19844
Christophe Dumez 15 years ago
parent
commit
3c8326d3b6
  1. 2
      src/preferences.h
  2. 4
      src/src.pro

2
src/preferences.h

@ -191,7 +191,7 @@ public: @@ -191,7 +191,7 @@ public:
static QString getTempPath() {
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();
}

4
src/src.pro

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

Loading…
Cancel
Save