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

Switch texture should be queued to make sure everything is ready before switching.

parent a11f03f9
......@@ -1739,19 +1739,19 @@ void Core::loadPlugin(const QString& _filename,const bool _silent, QString& _lic
if ( checkSignal(plugin,"switchTexture(QString,int)") )
connect(plugin , SIGNAL(switchTexture(QString, int )),
this , SLOT(slotSwitchTexture(QString, int )),Qt::AutoConnection);
this , SLOT(slotSwitchTexture(QString, int )),Qt::QueuedConnection);
if ( checkSlot( plugin , "slotSwitchTexture(QString,int)" ) )
connect(this , SIGNAL(switchTexture(QString, int )),
plugin , SLOT(slotSwitchTexture(QString, int )),Qt::DirectConnection);
plugin , SLOT(slotSwitchTexture(QString, int )),Qt::QueuedConnection);
if ( checkSignal(plugin,"switchTexture(QString)") )
connect(plugin , SIGNAL(switchTexture(QString )),
this , SLOT(slotSwitchTexture(QString )),Qt::AutoConnection);
this , SLOT(slotSwitchTexture(QString )),Qt::QueuedConnection);
if ( checkSlot( plugin , "slotSwitchTexture(QString)" ) )
connect(this , SIGNAL(switchTexture(QString )),
plugin , SLOT(slotSwitchTexture(QString )),Qt::DirectConnection);
plugin , SLOT(slotSwitchTexture(QString )),Qt::QueuedConnection);
......
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