1
0
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:
Dubslow 2015-01-23 08:00:50 -06:00
parent 358a56c555
commit 7fb7ae1fc8
No known key found for this signature in database
GPG Key ID: 3DB8E05315C220AA

View File

@ -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));