Avoid blocking of resource manager when dragging
This commit is contained in:
parent
2a2f274b52
commit
5326d24c87
|
@ -1366,7 +1366,7 @@ void CSandMan::dropEvent(QDropEvent* e)
|
|||
Commands.append(url.toLocalFile().replace("/", "\\"));
|
||||
}
|
||||
|
||||
RunSandboxed(Commands);
|
||||
QTimer::singleShot(0, this, [Commands, this]() { RunSandboxed(Commands); });
|
||||
}
|
||||
|
||||
void CSandMan::timerEvent(QTimerEvent* pEvent)
|
||||
|
|
Loading…
Reference in New Issue