aboutsummaryrefslogtreecommitdiff
path: root/src/mainwindow.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mainwindow.cpp')
-rw-r--r--src/mainwindow.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mainwindow.cpp b/src/mainwindow.cpp
index 81a209a..9711cfa 100644
--- a/src/mainwindow.cpp
+++ b/src/mainwindow.cpp
@@ -51,6 +51,7 @@ MainWindow::MainWindow(QApplication * app, QWidget *parent) :
act->setCheckable(true);
act->setChecked(dock->isVisible());
act->setData(QVariant::fromValue(dock));
+ // act->setIcon(dock->windowIcon());
connect(act, QOverload<bool>::of(&QAction::triggered), dock, &QDockWidget::setVisible);
}