clean code:signature normalized.

This commit is contained in:
yifang 2022-01-14 23:14:38 +08:00
parent 968cb325e6
commit 94b5d1c159

View file

@ -405,14 +405,12 @@ int main( int argc, char ** argv )
// and with the main window closed. // and with the main window closed.
app.setQuitOnLastWindowClosed( false ); app.setQuitOnLastWindowClosed( false );
MainWindow m( cfg ); MainWindow m( cfg );
app.addDataCommiter( m ); app.addDataCommiter( m );
QObject::connect( &app, SIGNAL(messageReceived(const QString&)), QObject::connect( &app, SIGNAL(messageReceived(QString)),
&m, SLOT(messageFromAnotherInstanceReceived(const QString&))); &m, SLOT(messageFromAnotherInstanceReceived(QString)));
if( gdcl.needSetGroup() ) if( gdcl.needSetGroup() )
m.setGroupByName( gdcl.getGroupName(), true ); m.setGroupByName( gdcl.getGroupName(), true );