summaryrefslogtreecommitdiff
path: root/src/gui/mainwindow.cpp
diff options
context:
space:
mode:
authorAleks Kissinger <aleks0@gmail.com>2018-07-20 14:40:41 +0200
committerAleks Kissinger <aleks0@gmail.com>2018-07-20 14:40:41 +0200
commita287cd28623e8f25ead557b069a10022fae68747 (patch)
treeb58e8fa729f96f4a8304f0cf57e9a8a3f3963ede /src/gui/mainwindow.cpp
parent02986e09367f74cfca6fe391db22cffcd0affe68 (diff)
automatically resize source pane when jumping and parsing
Diffstat (limited to 'src/gui/mainwindow.cpp')
-rw-r--r--src/gui/mainwindow.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/gui/mainwindow.cpp b/src/gui/mainwindow.cpp
index 15b6943..537a612 100644
--- a/src/gui/mainwindow.cpp
+++ b/src/gui/mainwindow.cpp
@@ -77,6 +77,10 @@ void MainWindow::open(QString fileName)
}
+QSplitter *MainWindow::splitter() const {
+ return ui->splitter;
+}
+
void MainWindow::closeEvent(QCloseEvent *event)
{
qDebug() << "got close event";