summaryrefslogtreecommitdiffhomepage
path: root/ftnoir_protocol_ft
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2013-09-17 18:18:59 +0200
committerStanislaw Halik <sthalik@misaki.pl>2013-09-17 18:18:59 +0200
commit2586fadcb331761acb622a863dc6525ccb56744a (patch)
treee3570e3274e9c265444c3030ec75a617779460ad /ftnoir_protocol_ft
parent982bc5ef759e2d35341216c89ef1c1fd5d49babd (diff)
freetrack: warnings-safe on mingw-w64
Diffstat (limited to 'ftnoir_protocol_ft')
-rw-r--r--ftnoir_protocol_ft/ftnoir_protocol_ft_dialog.cpp8
1 files changed, 1 insertions, 7 deletions
diff --git a/ftnoir_protocol_ft/ftnoir_protocol_ft_dialog.cpp b/ftnoir_protocol_ft/ftnoir_protocol_ft_dialog.cpp
index 93742129..b59d3637 100644
--- a/ftnoir_protocol_ft/ftnoir_protocol_ft_dialog.cpp
+++ b/ftnoir_protocol_ft/ftnoir_protocol_ft_dialog.cpp
@@ -190,13 +190,7 @@ void FTControls::save() {
// Several program distribute their own version of this file.
//
void FTControls::selectDLL() {
- QFileDialog::Options options;
- QFileDialog::FileMode mode;
-
- options |= QFileDialog::DontUseNativeDialog;
- mode = QFileDialog::ExistingFile;
- QString selectedFilter;
- QString fileName = QFileDialog::getOpenFileName( this, tr("Select the desired NPClient DLL"), QCoreApplication::applicationDirPath() + "/NPClient.dll", tr("Dll file (*.dll);;All Files (*)"));
+ QString fileName = QFileDialog::getOpenFileName( this, tr("Select the desired NPClient DLL"), QCoreApplication::applicationDirPath() + "/NPClient.dll", tr("Dll file (*.dll);;All Files (*)"));
//
// Write the location of the file in the required Registry-key.