1
0
mirror of https://github.com/tomahawk-player/tomahawk.git synced 2025-03-23 01:09:42 +01: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()
{
if ( m_settingsDialog )
{
m_settingsDialog->show();
return;
}
m_settingsDialog = new SettingsDialog;
// This needs to be a QueuedConnection, so that deleteLater() actually works.