kstyles: fix runtime warning about connection to non-existing slot

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
This commit is contained in:
Ivailo Monev 2022-10-29 06:29:54 +03:00
parent c4e93ff47b
commit 87335090a2
2 changed files with 0 additions and 8 deletions

View file

@ -82,7 +82,6 @@ namespace Oxygen
connect( button( Reset ), SIGNAL(clicked()), _stylePluginObject, SLOT(reset()) ); connect( button( Reset ), SIGNAL(clicked()), _stylePluginObject, SLOT(reset()) );
connect( button( Default ), SIGNAL(clicked()), _stylePluginObject, SLOT(defaults()) ); connect( button( Default ), SIGNAL(clicked()), _stylePluginObject, SLOT(defaults()) );
connect( this, SIGNAL(pluginSave()), _stylePluginObject, SLOT(save()) ); connect( this, SIGNAL(pluginSave()), _stylePluginObject, SLOT(save()) );
connect( this, SIGNAL(pluginToggleExpertMode(bool)), _stylePluginObject, SLOT(toggleExpertMode(bool)) );
} }
@ -102,13 +101,9 @@ namespace Oxygen
connect( button( Default ), SIGNAL(clicked()), _decorationPluginObject, SLOT(defaults()) ); connect( button( Default ), SIGNAL(clicked()), _decorationPluginObject, SLOT(defaults()) );
connect( this, SIGNAL(pluginSave()), _decorationPluginObject, SLOT(save()) ); connect( this, SIGNAL(pluginSave()), _decorationPluginObject, SLOT(save()) );
connect( this, SIGNAL(pluginToggleExpertMode(bool)), _decorationPluginObject, SLOT(toggleExpertMode(bool)) );
} }
// expert mode
emit pluginToggleExpertMode( true );
// button connections // button connections
connect( button( Apply ), SIGNAL(clicked()), SLOT(save()) ); connect( button( Apply ), SIGNAL(clicked()), SLOT(save()) );
connect( button( Ok ), SIGNAL(clicked()), SLOT(save()) ); connect( button( Ok ), SIGNAL(clicked()), SLOT(save()) );

View file

@ -51,9 +51,6 @@ namespace Oxygen
//! save local changes //! save local changes
void pluginSave( void ); void pluginSave( void );
//! expert mode
void pluginToggleExpertMode( bool );
public slots: public slots:
//! save local changes //! save local changes