aboutsummaryrefslogtreecommitdiff
path: root/src/mainwindow.cpp
diff options
context:
space:
mode:
authorFelix (xq) Queißner <git@mq32.de>2021-03-06 14:26:06 +0100
committerFelix (xq) Queißner <git@mq32.de>2021-03-06 14:26:06 +0100
commite16c85887a58381f225d706a8d740bf96a5fdf6a (patch)
tree92bf406d990635f0b7df4dded0b25b3b149d4641 /src/mainwindow.cpp
parenta7a7ec20c2059ae8681e3088afa370a3d4147892 (diff)
downloadkristall-e16c85887a58381f225d706a8d740bf96a5fdf6a.tar.gz
Starts preparing the codebase for multiple windows.
Diffstat (limited to 'src/mainwindow.cpp')
-rw-r--r--src/mainwindow.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/mainwindow.cpp b/src/mainwindow.cpp
index 8c0fc8a..bd33153 100644
--- a/src/mainwindow.cpp
+++ b/src/mainwindow.cpp
@@ -125,6 +125,8 @@ MainWindow::MainWindow(QApplication * app, QWidget *parent) :
connect(this->ui->browser_tabs->tab_bar, &BrowserTabBar::on_newTabClicked, this, [this]() {
this->addEmptyTab(true, true);
});
+
+ kristall::registerAppWindow(this);
}
MainWindow::~MainWindow()