aboutsummaryrefslogtreecommitdiffstats
path: root/qt-ui/mainwindow.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'qt-ui/mainwindow.cpp')
-rw-r--r--qt-ui/mainwindow.cpp10
1 files changed, 10 insertions, 0 deletions
diff --git a/qt-ui/mainwindow.cpp b/qt-ui/mainwindow.cpp
index acbd13046..389df3def 100644
--- a/qt-ui/mainwindow.cpp
+++ b/qt-ui/mainwindow.cpp
@@ -469,6 +469,16 @@ void MainWindow::on_actionNextDC_triggered()
redrawProfile();
}
+void MainWindow::on_actionFullScreen_triggered(bool checked)
+{
+ if (checked) {
+ setWindowState(windowState() | Qt::WindowFullScreen);
+ }
+ else {
+ setWindowState(windowState() & ~Qt::WindowFullScreen);
+ }
+}
+
void MainWindow::on_actionSelectEvents_triggered()
{
qDebug("actionSelectEvents");