all repos — mgba @ fa0944c530b293de226c06a7ba933eaec58be0da

mGBA Game Boy Advance Emulator

Qt: Don't rebuild library view if style hasn't changed
Vicki Pfau vi@endrift.com
Fri, 21 Jul 2017 14:27:17 -0700
commit

fa0944c530b293de226c06a7ba933eaec58be0da

parent

1ea2a6597edfb2281313d5eda8a7f09da53de395

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

jump to
M CHANGESCHANGES

@@ -8,6 +8,7 @@ Misc:

- GBA Timer: Use global cycles for timers - GBA: Extend oddly-sized ROMs to full address space (fixes mgba.io/i/722) - All: Make FIXED_ROM_BUFFER an option instead of 3DS-only + - Qt: Don't rebuild library view if style hasn't changed 0.6.0: (2017-07-16) Features:
M src/platform/qt/library/LibraryController.cppsrc/platform/qt/library/LibraryController.cpp

@@ -83,6 +83,9 @@ }

} void LibraryController::setViewStyle(LibraryStyle newStyle) { + if (m_currentStyle == newStyle) { + return; + } m_currentStyle = newStyle; AbstractGameList* newCurrentList = nullptr;