C++98 compatibility: QDialogButtonBox::StandardButton::Open -> QDialogButtonBox:...
authorPhilipp Spitzer <philipp@spitzer.priv.at>
Mon, 2 Oct 2017 20:18:07 +0000 (22:18 +0200)
committerPhilipp Spitzer <philipp@spitzer.priv.at>
Mon, 2 Oct 2017 21:03:50 +0000 (23:03 +0200)
src/gui/urlinputdialog.cpp

index 23a36b9..61e62dc 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()