summaryrefslogtreecommitdiff
path: root/src/client.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-03-09 00:54:10 +0300
committerAndrei Karas <akaras@inbox.ru>2014-03-09 00:56:44 +0300
commit4c90395b1b42d436545b33a855ef431f5ede6a9b (patch)
tree78b995b63753e8c88fa811b7840e4b1f7b27a40b /src/client.cpp
parente5225e0277fd3f17faa3d9f173f0e5f6951052c1 (diff)
downloadplus-4c90395b1b42d436545b33a855ef431f5ede6a9b.tar.gz
plus-4c90395b1b42d436545b33a855ef431f5ede6a9b.tar.bz2
plus-4c90395b1b42d436545b33a855ef431f5ede6a9b.tar.xz
plus-4c90395b1b42d436545b33a855ef431f5ede6a9b.zip
enable download music by default.
Diffstat (limited to 'src/client.cpp')
-rw-r--r--src/client.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/client.cpp b/src/client.cpp
index e767038e8..00da29af0 100644
--- a/src/client.cpp
+++ b/src/client.cpp
@@ -2969,7 +2969,10 @@ void Client::checkConfigVersion()
if (version < 6)
config.setValue("blur", false);
- config.setValue("cfgver", 6);
+ if (version < 7)
+ config.setValue("download-music", true);
+
+ config.setValue("cfgver", 7);
}
Window *Client::openErrorDialog(const std::string &header,