src/dialogs/configdialog.cpp

changeset 1115
117e4880666e
parent 1114
ffd49a28f49e
child 1145
02264bf0108d
--- a/src/dialogs/configdialog.cpp	Thu Feb 09 20:54:21 2017 +0200
+++ b/src/dialogs/configdialog.cpp	Thu Feb 09 21:01:12 2017 +0200
@@ -41,7 +41,7 @@
 #include "configdialog.h"
 #include "ui_configdialog.h"
 
-const char* g_extProgPathFilter =
+const char* const ConfigDialog::externalProgramPathFilter =
 #ifdef _WIN32
 	"Applications (*.exe)(*.exe);;"
 #endif
@@ -614,7 +614,7 @@
 		ExternalProgramWidgets& widgets = m_externalProgramWidgets[program];
 		QString filepath = QFileDialog::getOpenFileName (this,
 			format ("Path to %1", toolset->externalProgramName (program)),
-			widgets.input->text(), g_extProgPathFilter);
+		    widgets.input->text(), externalProgramPathFilter);
 	
 		if (filepath.isEmpty())
 			return;

mercurial