1
0
mirror of https://github.com/tomahawk-player/tomahawk.git synced 2025-04-07 17:42:35 +02:00

* Fixed compiling on non-OS X.

This commit is contained in:
Christian Muehlhaeuser 2011-07-02 21:10:59 +02:00
parent eaf8cad990
commit 8017bcacc7

View File

@ -604,7 +604,7 @@ SettingsDialog::sipFactoryClicked( SipPluginFactory* factory )
#else
DelegateConfigWrapper dialog( p->configWidget(), QString("%1 Config" ).arg( p->friendlyName() ), this );
QWeakPointer< DelegateConfigWrapper > watcher( &dialog );
connect( p, SIGNAL( dataError( bool ) ), dialog, SLOT( toggleOkButton( bool ) ) );
connect( p, SIGNAL( dataError( bool ) ), &dialog, SLOT( toggleOkButton( bool ) ) );
int ret = dialog.exec();
if( !watcher.isNull() && ret == QDialog::Accepted ) {
// send changed config to resolver