C++98 compatibility: QDialogButtonBox::StandardButton::Open -> QDialogButtonBox:...
[debian/confclerk.git] / src / gui / urlinputdialog.cpp
index 23a36b988c90d08ee3dc8d01162cc124d7118a94..61e62dc8d0a4546e098dc09bd1b14b66ffbb1039 100644 (file)
@@ -50,7 +50,7 @@ void UrlInputDialog::openFileClicked()
 
 void UrlInputDialog::textChanged(const QString& text)
 {
-    buttons->button(QDialogButtonBox::StandardButton::Open)->setEnabled(!text.isEmpty());
+    buttons->button(QDialogButtonBox::Open)->setEnabled(!text.isEmpty());
 }
 
 void UrlInputDialog::acceptClicked()