summaryrefslogtreecommitdiffstats
path: root/Source/QtDialog/QCMake.cxx
diff options
context:
space:
mode:
authorBen Boeckel <ben.boeckel@kitware.com>2020-06-02 18:32:29 (GMT)
committerBen Boeckel <ben.boeckel@kitware.com>2020-06-09 14:30:46 (GMT)
commitce9dbceb42b6c9170a86c6f05a914b3a72f656c8 (patch)
treef8c2ddab8b7932e721ab05f0c16bd220c226e6b6 /Source/QtDialog/QCMake.cxx
parent8ea50749da2c8687a31272754eeed54646de1682 (diff)
downloadCMake-ce9dbceb42b6c9170a86c6f05a914b3a72f656c8.zip
CMake-ce9dbceb42b6c9170a86c6f05a914b3a72f656c8.tar.gz
CMake-ce9dbceb42b6c9170a86c6f05a914b3a72f656c8.tar.bz2
QtDialog: remove Qt4-only code
The `reset()` method was actually deprecated for 5.0 which means it can now be removed here.
Diffstat (limited to 'Source/QtDialog/QCMake.cxx')
-rw-r--r--Source/QtDialog/QCMake.cxx4
1 files changed, 0 insertions, 4 deletions
diff --git a/Source/QtDialog/QCMake.cxx b/Source/QtDialog/QCMake.cxx
index 776af81..a631404 100644
--- a/Source/QtDialog/QCMake.cxx
+++ b/Source/QtDialog/QCMake.cxx
@@ -340,11 +340,7 @@ void QCMake::interrupt()
bool QCMake::interruptCallback()
{
-#if QT_VERSION < QT_VERSION_CHECK(5, 0, 0)
- return this->InterruptFlag;
-#else
return this->InterruptFlag.load();
-#endif
}
void QCMake::progressCallback(const std::string& msg, float percent)