Qt: Set window path to loaded ROM
Jeffrey Pfau jeffrey@endrift.com
Wed, 05 Aug 2015 18:10:33 -0700
2 files changed,
3 insertions(+),
0 deletions(-)
M
src/platform/qt/Window.cpp
→
src/platform/qt/Window.cpp
@@ -545,6 +545,7 @@ foreach (QAction* action, m_gameActions) {
action->setDisabled(false); } if (context->fname) { + setWindowFilePath(context->fname); appendMRU(context->fname); } updateTitle();@@ -564,6 +565,7 @@ void Window::gameStopped() {
foreach (QAction* action, m_gameActions) { action->setDisabled(true); } + setWindowFilePath(QString()); updateTitle(); detachWidget(m_display); m_screenWidget->setLockAspectRatio(m_logo.width(), m_logo.height());