diff options
| author | JosJuice <josjuice@gmail.com> | 2017-09-10 08:02:48 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2017-09-10 08:02:48 +0200 |
| commit | ee51ba639908ccbb13c3389344d17d3bbae2da1a (patch) | |
| tree | 02ccf253c0a7196dbcafd99524c07801d42c4791 /Source/Core/DolphinQt2/MainWindow.cpp | |
| parent | e86713ca6726393f4b5a2dd2240b79828d6fcb4b (diff) | |
| parent | 696e1b40b58ee1ef9340ceac02059abbe63f3120 (diff) | |
Merge pull request #6047 from lioncash/version
Common: Move version strings to their own header
Diffstat (limited to 'Source/Core/DolphinQt2/MainWindow.cpp')
| -rw-r--r-- | Source/Core/DolphinQt2/MainWindow.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Source/Core/DolphinQt2/MainWindow.cpp b/Source/Core/DolphinQt2/MainWindow.cpp index abb2ac38d2..0331104e01 100644 --- a/Source/Core/DolphinQt2/MainWindow.cpp +++ b/Source/Core/DolphinQt2/MainWindow.cpp @@ -16,7 +16,7 @@ #include <future> -#include "Common/Common.h" +#include "Common/Version.h" #include "Core/Boot/Boot.h" #include "Core/BootManager.h" @@ -66,7 +66,7 @@ MainWindow::MainWindow() : QMainWindow(nullptr) { - setWindowTitle(QString::fromStdString(scm_rev_str)); + setWindowTitle(QString::fromStdString(Common::scm_rev_str)); setWindowIcon(QIcon(Resources::GetMisc(Resources::LOGO_SMALL))); setUnifiedTitleAndToolBarOnMac(true); setAcceptDrops(true); @@ -541,7 +541,7 @@ void MainWindow::HideRenderWidget() m_render_widget->setParent(nullptr); m_rendering_to_main = false; disconnect(Host::GetInstance(), &Host::RequestTitle, this, &MainWindow::setWindowTitle); - setWindowTitle(QString::fromStdString(scm_rev_str)); + setWindowTitle(QString::fromStdString(Common::scm_rev_str)); } m_render_widget->hide(); } |
