From 604fb7c18170b039d9d3d5818af8bd7c21d407ae Mon Sep 17 00:00:00 2001 From: Stanislaw Halik Date: Mon, 12 Oct 2015 08:40:07 +0200 Subject: version: drop volatile, not needed --- facetracknoir/ui.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'facetracknoir') diff --git a/facetracknoir/ui.cpp b/facetracknoir/ui.cpp index fd20084d..d0a5e93c 100644 --- a/facetracknoir/ui.cpp +++ b/facetracknoir/ui.cpp @@ -216,7 +216,7 @@ void MainWindow::open_config_directory() } } -extern "C" volatile const char* opentrack_version; +extern "C" const char* opentrack_version; void MainWindow::refresh_config_list() { @@ -379,7 +379,7 @@ void MainWindow::set_title(const QString& game_title_) if (game_title_ != "") game_title = " :: " + game_title_; QString current = group::ini_filename(); - setWindowTitle(const_cast(opentrack_version) + QStringLiteral(" :: ") + current + game_title); + setWindowTitle(opentrack_version + QStringLiteral(" :: ") + current + game_title); } void MainWindow::showHeadPose() -- cgit v1.2.3