summaryrefslogtreecommitdiffhomepage
path: root/facetracknoir
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2015-10-12 08:41:55 +0200
committerStanislaw Halik <sthalik@misaki.pl>2015-10-12 08:41:55 +0200
commit3ef631ba91051e5f0c356f51cbdf173a3d2db902 (patch)
tree9cb3ea0013c633c7d44a12dbf8a4a8644a465e69 /facetracknoir
parent47995b3678c54b00755ee1e9f279ee822264370b (diff)
version: drop volatile here too
Diffstat (limited to 'facetracknoir')
-rw-r--r--facetracknoir/software-update-dialog.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/facetracknoir/software-update-dialog.hpp b/facetracknoir/software-update-dialog.hpp
index d6353396..ac7e03f3 100644
--- a/facetracknoir/software-update-dialog.hpp
+++ b/facetracknoir/software-update-dialog.hpp
@@ -39,7 +39,7 @@ public:
QSettings s(OPENTRACK_ORG);
QString quiet_version = s.value("quiet-update-version").toString();
- if (!str.isEmpty() && str != const_cast<const char*>(opentrack_version) && str != quiet_version)
+ if (!str.isEmpty() && str != opentrack_version && str != quiet_version)
{
qDebug() << "update version" << str;
update_dialog dlg(parent, *this, str);