diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2017-05-06 13:23:44 +0200 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2017-05-10 11:19:22 +0200 |
commit | 03c5a15199b34b564314ac222d51ab687fc97a93 (patch) | |
tree | c130aa8785dc273090dbe0f3fa04e5055d851483 /gui/main.cpp | |
parent | 632cd5bf7778cb9062633f8d27ecd6aadcaa5d28 (diff) |
get rid of the silly mem -> shared_ptr alias
Diffstat (limited to 'gui/main.cpp')
-rw-r--r-- | gui/main.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gui/main.cpp b/gui/main.cpp index 80040732..16e08b6e 100644 --- a/gui/main.cpp +++ b/gui/main.cpp @@ -129,13 +129,13 @@ main(int argc, char** argv) if (!QSettings(OPENTRACK_ORG).value("disable-translation", false).toBool()) { - (void) t.load(QLocale(), "", "", QCoreApplication::applicationDirPath() + "/" + OPENTRACK_I18N_PATH, ".qm"); + (void) t.load(QLocale(), "", "", QCoreApplication::applicationDirPath() + "/" OPENTRACK_I18N_PATH, ".qm"); (void) QCoreApplication::installTranslator(&t); } do { - mem<MainWindow> w = std::make_shared<MainWindow>(); + std::shared_ptr<MainWindow> w = std::make_shared<MainWindow>(); if (!w->isEnabled()) break; |