mirror of https://github.com/mgba-emu/mgba.git
Qt: Set window path to loaded ROM
This commit is contained in:
parent
8e735a4668
commit
3dc02dc81c
1
CHANGES
1
CHANGES
|
@ -114,6 +114,7 @@ Misc:
|
|||
- 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:
|
||||
|
|
|
@ -545,6 +545,7 @@ void Window::gameStarted(GBAThread* context) {
|
|||
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());
|
||||
|
|
Loading…
Reference in New Issue