Skip to content

Commit

Permalink
Fix QObject::connect: No such slot MainWindow::toggleFullScreen()
Browse files Browse the repository at this point in the history
  • Loading branch information
i-can-not-program authored and exjam committed Apr 13, 2021
1 parent 6feb1be commit 0cd56a2
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/decaf-qt/src/mainwindow.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ MainWindow::MainWindow(SettingsStorage *settingsStorage,

QShortcut *shortcut = new QShortcut(QKeySequence("F11"), this);
connect(shortcut, &QShortcut::activated,
this, &MainWindow::toggleFullscreen);
this, &MainWindow::toggleFullScreen);
connect(mSoftwareKeyboardDriver, &SoftwareKeyboardDriver::open,
this, &MainWindow::softwareKeyboardOpen);
connect(mSoftwareKeyboardDriver, &SoftwareKeyboardDriver::close,
Expand Down Expand Up @@ -276,7 +276,7 @@ MainWindow::setTitleListModeGrid()
}

void
MainWindow::toggleFullscreen()
MainWindow::toggleFullScreen()
{
if (mUi.menuBar->isVisible()) {
mUi.menuBar->hide();
Expand Down
2 changes: 1 addition & 1 deletion src/decaf-qt/src/mainwindow.h
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ private slots:
void setTitleListModeList();
void setTitleListModeGrid();

void toggleFullscreen();
void toggleFullScreen();

void openDebugger();

Expand Down

0 comments on commit 0cd56a2

Please sign in to comment.