]> Some of my projects - localmylist.git/commitdiff
Fix macro typo.
authorAPTX <redacted>
Wed, 11 Dec 2013 20:35:27 +0000 (21:35 +0100)
committerAPTX <redacted>
Wed, 11 Dec 2013 20:35:27 +0000 (21:35 +0100)
It's nice msvc doesn't even issue a warning.

localmylist-management/tabs/dynamicmodeltab.cpp
localmylist-management/tabs/mylisttab.cpp
localmylist-management/tabs/searchtab.cpp

index e0f9621..493c4e6 100644 (file)
@@ -20,7 +20,7 @@ DynamicModelTab::DynamicModelTab(QWidget *parent) :
 {
        ui->setupUi(this);
        setLabel(name());
-#ifdef QT_VERSION >= QT_VERSION_CHECK(5, 2, 0)
+#if QT_VERSION >= QT_VERSION_CHECK(5, 2, 0)
        ui->filterInput->setClearButtonEnabled(true);
 #endif
 }
index e6d7750..4165c89 100644 (file)
@@ -24,7 +24,7 @@ MyListTab::MyListTab(QWidget *parent) :
 {
        ui->setupUi(this);
        m_label = tr("MyList");
-#ifdef QT_VERSION >= QT_VERSION_CHECK(5, 2, 0)
+#if QT_VERSION >= QT_VERSION_CHECK(5, 2, 0)
        ui->filterInput->setClearButtonEnabled(true);
 #endif
 }
index bdd25ea..c894983 100644 (file)
@@ -14,7 +14,7 @@ SearchTab::SearchTab(QWidget *parent) :
 {
        ui->setupUi(this);
        m_label = name();
-#ifdef QT_VERSION >= QT_VERSION_CHECK(5, 2, 0)
+#if QT_VERSION >= QT_VERSION_CHECK(5, 2, 0)
        ui->input->setClearButtonEnabled(true);
 #endif
 }