From e90e86005c4b449c82c59bc2d27082bd35323592 Mon Sep 17 00:00:00 2001 From: Dominik Schmidt Date: Tue, 7 Apr 2015 21:13:25 +0200 Subject: [PATCH] Fix install-resolver-dialog not getting focus --- src/tomahawk/dialogs/SettingsDialog.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/tomahawk/dialogs/SettingsDialog.cpp b/src/tomahawk/dialogs/SettingsDialog.cpp index 67f2556fe..a9aac6b73 100644 --- a/src/tomahawk/dialogs/SettingsDialog.cpp +++ b/src/tomahawk/dialogs/SettingsDialog.cpp @@ -548,7 +548,7 @@ SettingsDialog::openAccountConfig( Account* account, bool showDelete ) void SettingsDialog::installFromFile() { - const QString resolver = QFileDialog::getOpenFileName( 0, tr( "Install resolver from file" ), + const QString resolver = QFileDialog::getOpenFileName( m_accountsWidget, tr( "Install resolver from file" ), TomahawkSettings::instance()->scriptDefaultPath(), tr( "Tomahawk Resolvers (*.axe *.js);;" "All files (*)" ),