git://git.novaco.in
/
novacoin.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
(parent:
07fc344
)
QT5 fix
author
CryptoManiac
<balthazar@yandex.ru>
Wed, 23 Mar 2016 22:56:04 +0000 (
01:56
+0300)
committer
CryptoManiac
<balthazar@yandex.ru>
Wed, 23 Mar 2016 22:56:04 +0000 (
01:56
+0300)
src/qt/optionsdialog.cpp
patch
|
blob
|
history
diff --git
a/src/qt/optionsdialog.cpp
b/src/qt/optionsdialog.cpp
index
63b5c7d
..
adb6ffb
100644
(file)
--- a/
src/qt/optionsdialog.cpp
+++ b/
src/qt/optionsdialog.cpp
@@
-359,7
+359,7
@@
void OptionsDialog::on_chooseSeeder_clicked()
#if QT_VERSION < 0x050000
QString openDir = QDesktopServices::storageLocation(QDesktopServices::ApplicationsLocation);
#else
- QString openDir = QStandardPaths::ApplicationsLocation(QStandardPaths::ApplicationsLocation);
+ QString openDir = QStandardPaths::writableLocation(QStandardPaths::ApplicationsLocation);
#endif
QString filename = QFileDialog::getOpenFileName(this, tr("Choose peer collector application"), openDir, tr("Applications (*.*)"));