all repos — mgba @ 3dc02dc81cc590f8faf093765195780f20622879

mGBA Game Boy Advance Emulator

Qt: Set window path to loaded ROM
Jeffrey Pfau jeffrey@endrift.com
Wed, 05 Aug 2015 18:10:33 -0700
commit

3dc02dc81cc590f8faf093765195780f20622879

parent

8e735a4668be274168ff2ef6a32dfb498f7a23fc

2 files changed, 3 insertions(+), 0 deletions(-)

jump to
M CHANGESCHANGES

@@ -114,6 +114,7 @@ - GBA BIOS: Stub out SoundBias

- Qt: Gamepads can now have both buttons and analog axes mapped to the same key - Qt: Increase usability of key mapper - Qt: Show checkmark for window sizes + - Qt: Set window path to loaded ROM 0.2.1: (2015-05-13) Bugfixes:
M src/platform/qt/Window.cppsrc/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());