Use platform-native fullscreen shortcut for Maximize Toggle.

Also fix annoying typo in mainwindow.ui.
This commit is contained in:
sawinglogz 2020-03-26 19:48:09 -04:00
parent 89e9e305fb
commit 47c97721fb
2 changed files with 3 additions and 2 deletions

View File

@ -135,6 +135,7 @@ void MainWindow::SetupGUI()
ui->action_Preferences->setMenuRole(QAction::PreferencesRole);
#endif
ui->actionPrint_Report->setShortcuts(QKeySequence::Print);
ui->action_Fullscreen->setShortcuts(QKeySequence::FullScreen);
ui->actionLine_Cursor->setChecked(AppSetting->lineCursorMode());
ui->actionPie_Chart->setChecked(AppSetting->showPieChart());

View File

@ -2887,7 +2887,7 @@ p, li { white-space: pre-wrap; }
<property name="title">
<string>&amp;Advanced</string>
</property>
<widget class="QMenu" name="menuPurge_Oximetery_Data">
<widget class="QMenu" name="menuPurge_Oximetry_Data">
<property name="title">
<string>Purge Oximetry Data</string>
</property>
@ -2901,7 +2901,7 @@ p, li { white-space: pre-wrap; }
<addaction name="actionPurge_Current_Day"/>
<addaction name="menuPurge_CPAP_Data"/>
<addaction name="separator"/>
<addaction name="menuPurge_Oximetery_Data"/>
<addaction name="menuPurge_Oximetry_Data"/>
</widget>
<widget class="QMenu" name="menu_Rebuild_CPAP_Data">
<property name="title">