OSDN Git Service

Ver0.19
authorMasayuki Satoh <miyabi.satoh@gmail.com>
Sun, 31 Aug 2014 07:52:54 +0000 (16:52 +0900)
committerMasayuki Satoh <miyabi.satoh@gmail.com>
Sun, 31 Aug 2014 07:52:54 +0000 (16:52 +0900)
preferencedialog.cpp

index 52aefe8..1a6a2e7 100644 (file)
@@ -438,7 +438,7 @@ void PreferenceDialog::browseApp()
                 QStandardPaths::ApplicationsLocation);
 #ifdef Q_OS_WIN
     QString path = QFileDialog::getOpenFileName(
-                this, tr("アプリケーションを選択"), list.at(0),
+                this, tr("アプリケーションを選択"), getenv("PROGRAMFILES"),
                 tr("実行ファイル (*.exe *.com *.bat *.pif);;すべてのファイル (*)"));
 #elif defined(Q_OS_MAC)
     QString path = QFileDialog::getOpenFileName(