mirror of
https://github.com/xiaoyifang/goldendict-ng.git
synced 2024-11-27 19:24:08 +00:00
clean code:signature normalized.
This commit is contained in:
parent
968cb325e6
commit
94b5d1c159
6
main.cc
6
main.cc
|
@ -405,14 +405,12 @@ int main( int argc, char ** argv )
|
|||
// and with the main window closed.
|
||||
app.setQuitOnLastWindowClosed( false );
|
||||
|
||||
|
||||
|
||||
MainWindow m( cfg );
|
||||
|
||||
app.addDataCommiter( m );
|
||||
|
||||
QObject::connect( &app, SIGNAL(messageReceived(const QString&)),
|
||||
&m, SLOT(messageFromAnotherInstanceReceived(const QString&)));
|
||||
QObject::connect( &app, SIGNAL(messageReceived(QString)),
|
||||
&m, SLOT(messageFromAnotherInstanceReceived(QString)));
|
||||
|
||||
if( gdcl.needSetGroup() )
|
||||
m.setGroupByName( gdcl.getGroupName(), true );
|
||||
|
|
Loading…
Reference in a new issue