Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
OpenFlipper-Free
OpenFlipper
Commits
f103a72c
Commit
f103a72c
authored
Jan 11, 2019
by
Jan Möbius
Browse files
Switch texture should be queued to make sure everything is ready before switching.
parent
a11f03f9
Changes
1
Show whitespace changes
Inline
Side-by-side
Core/PluginLoader.cc
View file @
f103a72c
...
...
@@ -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
::
Auto
Connection
);
this
,
SLOT
(
slotSwitchTexture
(
QString
,
int
)),
Qt
::
Queued
Connection
);
if
(
checkSlot
(
plugin
,
"slotSwitchTexture(QString,int)"
)
)
connect
(
this
,
SIGNAL
(
switchTexture
(
QString
,
int
)),
plugin
,
SLOT
(
slotSwitchTexture
(
QString
,
int
)),
Qt
::
Direct
Connection
);
plugin
,
SLOT
(
slotSwitchTexture
(
QString
,
int
)),
Qt
::
Queued
Connection
);
if
(
checkSignal
(
plugin
,
"switchTexture(QString)"
)
)
connect
(
plugin
,
SIGNAL
(
switchTexture
(
QString
)),
this
,
SLOT
(
slotSwitchTexture
(
QString
)),
Qt
::
Auto
Connection
);
this
,
SLOT
(
slotSwitchTexture
(
QString
)),
Qt
::
Queued
Connection
);
if
(
checkSlot
(
plugin
,
"slotSwitchTexture(QString)"
)
)
connect
(
this
,
SIGNAL
(
switchTexture
(
QString
)),
plugin
,
SLOT
(
slotSwitchTexture
(
QString
)),
Qt
::
Direct
Connection
);
plugin
,
SLOT
(
slotSwitchTexture
(
QString
)),
Qt
::
Queued
Connection
);
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment