diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2017-03-24 12:11:57 +0100 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2017-03-24 12:11:57 +0100 |
commit | 3b3fa50324dfa80d46de37602b66ae382bf15518 (patch) | |
tree | 6572e18b04a10c6cc986e652b9cf9f0f4ce3d4e3 | |
parent | fb4ce92fc1174982246ae4dcc9bdf6a76a2ce549 (diff) |
gui: don't prepend "opentrack" to trackmouse
-rw-r--r-- | gui/main-window.cpp | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/gui/main-window.cpp b/gui/main-window.cpp index 7b3a2f62..4c864272 100644 --- a/gui/main-window.cpp +++ b/gui/main-window.cpp @@ -176,10 +176,6 @@ void MainWindow::init_tray_menu() tray_menu.clear(); QString display_name(opentrack_version); - if (display_name.startsWith("opentrack-")) - { - display_name = tr("opentrack") + " " + display_name.mid(sizeof("opentrack-") - 1); - } if (display_name.endsWith("-DEBUG")) display_name.replace(display_name.size() - int(sizeof("DEBUG")), display_name.size(), tr(" (debug)")); @@ -561,7 +557,6 @@ void MainWindow::set_title(const QString& game_title_) game_title = tr(" :: ") + game_title_; QString current = group::ini_filename(); QString version(opentrack_version); - version = tr("opentrack") + " " + version.mid(sizeof("opentrack-") - 1); setWindowTitle(version + tr(" :: ") + current + game_title); } |