summaryrefslogtreecommitdiff
path: root/mainwin.cc
diff options
context:
space:
mode:
Diffstat (limited to 'mainwin.cc')
-rw-r--r--mainwin.cc5
1 files changed, 4 insertions, 1 deletions
diff --git a/mainwin.cc b/mainwin.cc
index f62fa07..98e82f7 100644
--- a/mainwin.cc
+++ b/mainwin.cc
@@ -33,6 +33,7 @@
#include <QVBoxLayout>
#include <QLabel>
#include <QFileInfo>
+#include <QStatusBar>
//for chdir
#include <unistd.h>
@@ -77,9 +78,11 @@ MainWindow::MainWindow(const char *filename)
s2 = new QSplitter(Qt::Vertical, w1);
l1->addWidget(s2);
screen = new GLView(s2);
- screen->statusBar = statusBar();
console = new QTextEdit(s2);
+ screen->statusLabel = new QLabel(this);
+ statusBar()->addWidget(screen->statusLabel);
+
QWidget *w2 = new QWidget(w1);
QHBoxLayout *l2 = new QHBoxLayout(w2);
l1->addWidget(w2);
contact: Jan Huwald // Impressum