diff --git a/src/delegateconfigwrapper.h b/src/delegateconfigwrapper.h index 5bd4faad6..4a2d4bfd1 100644 --- a/src/delegateconfigwrapper.h +++ b/src/delegateconfigwrapper.h @@ -89,7 +89,7 @@ public slots: else if ( b == m_deleteButton ) { m_deleted = true; - emit deleted(); + emit closedWithDelete(); reject(); } else diff --git a/src/settingsdialog.cpp b/src/settingsdialog.cpp index 2f7e5ec10..29162aeec 100644 --- a/src/settingsdialog.cpp +++ b/src/settingsdialog.cpp @@ -443,7 +443,7 @@ SettingsDialog::openAccountConfig( Account* account, bool showDelete ) { if( account->configurationWidget() ) { -#ifndef Q_WS_MAC +#if 0 DelegateConfigWrapper dialog( account->configurationWidget(), QString("%1 Configuration" ).arg( account->accountFriendlyName() ), this ); dialog.setShowDelete( showDelete ); QWeakPointer< DelegateConfigWrapper > watcher( &dialog ); @@ -490,8 +490,6 @@ SettingsDialog::accountConfigDelete() Account* account = qobject_cast< Account* >( dialog->property( "accountplugin" ).value< QObject* >() ); Q_ASSERT( account ); AccountManager::instance()->removeAccount( account ); - - sender()->deleteLater(); } diff --git a/src/stackedsettingsdialog.ui b/src/stackedsettingsdialog.ui index c04c387ef..a32f74f67 100644 --- a/src/stackedsettingsdialog.ui +++ b/src/stackedsettingsdialog.ui @@ -102,51 +102,11 @@ 2 - - - - - Show music sources - - - - - - - Show friend sources - - - - - - - Show update services - - - - + - - - - - - Add new service... - - - - - - - Remove Service - - - - -