all repos — mgba @ 10764f81f2dda8883b991db6fa38d9e9e434f166

mGBA Game Boy Advance Emulator

Qt: Fix up report view a bit on macOS
Vicki Pfau vi@endrift.com
Sun, 28 Mar 2021 16:32:37 -0700
commit

10764f81f2dda8883b991db6fa38d9e9e434f166

parent

f06b5afc7fcfe66728919c346cc4a54aee38e6ab

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

jump to
M src/platform/qt/ReportView.uisrc/platform/qt/ReportView.ui

@@ -6,14 +6,14 @@ <property name="geometry">

<rect> <x>0</x> <y>0</y> - <width>855</width> - <height>474</height> + <width>914</width> + <height>533</height> </rect> </property> <property name="windowTitle"> <string>Generate Bug Report</string> </property> - <layout class="QGridLayout" name="gridLayout" columnstretch="3,2,7,0"> + <layout class="QGridLayout" name="gridLayout" columnstretch="3,2,7"> <item row="1" column="1" rowspan="3"> <widget class="QListWidget" name="fileList"> <property name="enabled">
M src/platform/qt/Window.cppsrc/platform/qt/Window.cpp

@@ -1212,11 +1212,14 @@ Action* dolphin = m_actions.addAction(tr("Connect to Dolphin..."), "connectDolphin", openNamedTView<DolphinConnector>(&m_dolphinView, this), "file");

m_platformActions.insert(mPLATFORM_GBA, dolphin); #endif + m_actions.addSeparator("file"); + + m_actions.addAction(tr("Report bug..."), "bugReport", openTView<ReportView>(), "file"); + #ifndef Q_OS_MAC m_actions.addSeparator("file"); #endif - m_actions.addAction(tr("Report bug..."), "bugReport", openTView<ReportView>(), "file"); m_actions.addAction(tr("About..."), "about", openTView<AboutScreen>(), "file"); #ifndef Q_OS_MAC