mirror of
https://github.com/qTox/qTox.git
synced 2024-03-22 14:00:36 +08:00
oops, fortunately this wasn't a bug yet...
This commit is contained in:
parent
358a56c555
commit
7fb7ae1fc8
|
@ -1223,7 +1223,7 @@ bool Widget::askQuestion(const QString& title, const QString& msg, bool defaultA
|
|||
if (QThread::currentThread() != qApp->thread())
|
||||
{
|
||||
bool ret;
|
||||
QMetaObject::invokeMethod(this, "askMsgboxQuestion", Qt::BlockingQueuedConnection,
|
||||
QMetaObject::invokeMethod(this, "askQuestion", Qt::BlockingQueuedConnection,
|
||||
Q_RETURN_ARG(bool, ret),
|
||||
Q_ARG(const QString&, title), Q_ARG(const QString&, msg),
|
||||
Q_ARG(bool, defaultAns), Q_ARG(bool, warning));
|
||||
|
|
Loading…
Reference in New Issue
Block a user