Mercurial > hg > svgui
diff widgets/ListInputDialog.cpp @ 640:c6d705bf1672
Merge from branch "qt5". This revision actually builds with Qt4 (late releases) or Qt5, though it will warn on configure with Qt4.
author | Chris Cannam |
---|---|
date | Tue, 14 May 2013 12:36:43 +0100 |
parents | d632a1e87018 |
children | 4a578a360011 |
line wrap: on
line diff
--- a/widgets/ListInputDialog.cpp Tue Apr 16 15:17:33 2013 +0100 +++ b/widgets/ListInputDialog.cpp Tue May 14 12:36:43 2013 +0100 @@ -25,8 +25,8 @@ ListInputDialog::ListInputDialog(QWidget *parent, const QString &title, const QString &labelText, const QStringList &list, - int current, Qt::WFlags f) : - QDialog(parent, f), + int current) : + QDialog(parent), m_strings(list) { setWindowTitle(title); @@ -89,9 +89,9 @@ QString ListInputDialog::getItem(QWidget *parent, const QString &title, const QString &label, const QStringList &list, - int current, bool *ok, Qt::WFlags f) + int current, bool *ok) { - ListInputDialog dialog(parent, title, label, list, current, f); + ListInputDialog dialog(parent, title, label, list, current); bool accepted = (dialog.exec() == QDialog::Accepted); if (ok) *ok = accepted;