summaryrefslogtreecommitdiffstats
path: root/mainwindow.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'mainwindow.cpp')
-rw-r--r--mainwindow.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/mainwindow.cpp b/mainwindow.cpp
index 8ab1ef19..7688236b 100644
--- a/mainwindow.cpp
+++ b/mainwindow.cpp
@@ -69,7 +69,7 @@ MainWindow::MainWindow(QWidget *parent)
connect(actionAddFolder, SIGNAL(triggered()), this, SLOT(addFolder()));
qsrand(static_cast<uint>(QTime::currentTime().msec()));
-#if QT_VERSION >= 0x050200
+#if QT_VERSION >= QT_VERSION_CHECK(5,2,0)
ui->lineEdit->setClearButtonEnabled(true);
#endif
}