|
|
|
@ -277,8 +277,7 @@ bool GUI::askQuestion(const QString& title, const QString& msg,
@@ -277,8 +277,7 @@ bool GUI::askQuestion(const QString& title, const QString& msg,
|
|
|
|
|
QString GUI::itemInputDialog(QWidget* parent, const QString& title, |
|
|
|
|
const QString& label, const QStringList& items, |
|
|
|
|
int current, bool editable, bool* ok, |
|
|
|
|
Qt::WindowFlags flags, |
|
|
|
|
Qt::InputMethodHints hints) |
|
|
|
|
Qt::WindowFlags flags, Qt::InputMethodHints hints) |
|
|
|
|
{ |
|
|
|
|
if (QThread::currentThread() == qApp->thread()) |
|
|
|
|
{ |
|
|
|
@ -398,8 +397,7 @@ bool GUI::_askQuestion(const QString& title, const QString& msg,
@@ -398,8 +397,7 @@ bool GUI::_askQuestion(const QString& title, const QString& msg,
|
|
|
|
|
QString GUI::_itemInputDialog(QWidget* parent, const QString& title, |
|
|
|
|
const QString& label, const QStringList& items, |
|
|
|
|
int current, bool editable, bool* ok, |
|
|
|
|
Qt::WindowFlags flags, |
|
|
|
|
Qt::InputMethodHints hints) |
|
|
|
|
Qt::WindowFlags flags, Qt::InputMethodHints hints) |
|
|
|
|
{ |
|
|
|
|
return QInputDialog::getItem(parent, title, label, items, current, editable, ok, flags, hints); |
|
|
|
|
} |
|
|
|
|