1
0
mirror of https://github.com/tomahawk-player/tomahawk.git synced 2025-08-06 06:07:37 +02:00

Reactivate settings-dialog if it already exists.

This commit is contained in:
Christian Muehlhaeuser
2014-10-29 00:05:47 +01:00
parent 6dcbe12ede
commit fea32bed44

View File

@@ -1035,7 +1035,10 @@ void
TomahawkWindow::showSettingsDialog() TomahawkWindow::showSettingsDialog()
{ {
if ( m_settingsDialog ) if ( m_settingsDialog )
{
m_settingsDialog->show();
return; return;
}
m_settingsDialog = new SettingsDialog; m_settingsDialog = new SettingsDialog;
// This needs to be a QueuedConnection, so that deleteLater() actually works. // This needs to be a QueuedConnection, so that deleteLater() actually works.