Skip to content

Commit

Permalink
use showFullScreen() and emit fullScreenChanged(isFullScreen()) to sn…
Browse files Browse the repository at this point in the history
…yc the menubar checkbox
  • Loading branch information
ronso0 committed May 9, 2021
1 parent a9a4195 commit 2e49703
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/mixxx.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -259,7 +259,7 @@ void MixxxMainWindow::initialize(QApplication* pApp, const CmdlineArgs& args) {
bool fullscreenPref = pConfig->getValue<bool>(
ConfigKey("[Config]", "StartInFullscreen"));
if (args.getStartInFullscreen() || fullscreenPref) {
slotViewFullScreen(true);
showFullScreen();
}

QString resourcePath = pConfig->getResourcePath();
Expand Down Expand Up @@ -529,7 +529,7 @@ void MixxxMainWindow::initialize(QApplication* pApp, const CmdlineArgs& args) {
// Connect signals to the menubar. Should be done before emit newSkinLoaded.
connectMenuBar();
// Refresh the Fullscreen checkbox for the case we went fullscreen earlier
m_pMenuBar->onFullScreenStateChange(isFullScreen());
emit fullScreenChanged(isFullScreen());

launchProgress(63);

Expand Down

0 comments on commit 2e49703

Please sign in to comment.