summaryrefslogtreecommitdiff
path: root/src/mainwindow.cc
diff options
context:
space:
mode:
authordeva <deva>2005-05-03 09:22:12 +0000
committerdeva <deva>2005-05-03 09:22:12 +0000
commit2bef4cb3d3230915e5e673f10910ff8f520a0c19 (patch)
treecb027efa35cc46c63ece8b60116b70e6680516c3 /src/mainwindow.cc
parentfc6b6c4981bfeb94055a43c4b9eebc979f0370b8 (diff)
Implemented the gui part of the info object.
Diffstat (limited to 'src/mainwindow.cc')
-rw-r--r--src/mainwindow.cc7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/mainwindow.cc b/src/mainwindow.cc
index eda7dc9..577058f 100644
--- a/src/mainwindow.cc
+++ b/src/mainwindow.cc
@@ -31,6 +31,9 @@
/*
* $Log$
+ * Revision 1.25 2005/05/03 09:22:12 deva
+ * Implemented the gui part of the info object.
+ *
* Revision 1.24 2005/05/03 08:31:59 deva
* Removed the error object, and replaced it with a more generic info object.
*
@@ -91,10 +94,10 @@
//#define WITH_DV
-MainWindow::MainWindow( QWidget* parent, const char* name )
+MainWindow::MainWindow(QApplication *qApp, QWidget* parent, const char* name )
: QWidget( parent, name, WStyle_Customize | WStyle_NoBorder )
{
- info = new InfoGui();
+ info = new InfoGui(qApp, this);
video_width = config->readInt("video_width");
video_height = config->readInt("video_height");