Commit dc1a30e5 authored by Jan Möbius's avatar Jan Möbius

Fixed signal direction for restore slots

git-svn-id: http://www.openflipper.org/svnrepo/OpenFlipper/branches/Free@9545 383ad7c9-94d9-4d36-a494-682f7c89f535
parent 7d1bb2ae
......@@ -1109,14 +1109,14 @@ void Core::loadPlugin(QString filename, bool silent, QObject* _plugin){
// Stage two: Core restore done, plugins should restore
if ( checkSignal( plugin , "restore(int,int)" ) ) {
connect(this , SIGNAL(restore(int,int)) ,
plugin , SIGNAL( restore(int,int) ),Qt::DirectConnection);
connect(plugin , SIGNAL(restore(int,int)) ,
this , SIGNAL( restore(int,int) ),Qt::DirectConnection);
}
// Stage three: Restore complete
if ( checkSignal( plugin , "restored(int,int)" ) ) {
connect(this , SIGNAL(restored(int,int)) ,
plugin , SIGNAL( restored(int,int) ),Qt::DirectConnection);
connect(plugin , SIGNAL(restored(int,int)) ,
this , SIGNAL( restored(int,int) ),Qt::DirectConnection);
}
//====================================================================================
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment