summaryrefslogtreecommitdiff
path: root/muse2/muse/cobject.cpp
diff options
context:
space:
mode:
authorFlorian Jung <flo@windfisch.org>2011-08-15 12:37:39 +0000
committerFlorian Jung <flo@windfisch.org>2011-08-15 12:37:39 +0000
commit23f3026199641b6e2a2af69e10353cbe304e5649 (patch)
treee6cd69a129b10ec59ba96b4fa01fc9c5875e0be1 /muse2/muse/cobject.cpp
parent078e927639369928a6fa0483c82867dae6cbf9a2 (diff)
added transport and panic toolbars to all TopWins
removed the Toplevel class, as the TopWin::type() function replaces it
Diffstat (limited to 'muse2/muse/cobject.cpp')
-rw-r--r--muse2/muse/cobject.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/muse2/muse/cobject.cpp b/muse2/muse/cobject.cpp
index 8091db4b..8f3932ec 100644
--- a/muse2/muse/cobject.cpp
+++ b/muse2/muse/cobject.cpp
@@ -19,9 +19,11 @@
using std::list;
-TopWin::TopWin(QWidget* parent, const char* name, Qt::WindowFlags f)
+TopWin::TopWin(ToplevelType t, QWidget* parent, const char* name, Qt::WindowFlags f)
: QMainWindow(parent, f)
{
+ _type=t;
+
setObjectName(QString(name));
//setAttribute(Qt::WA_DeleteOnClose);
// Allow multiple rows. Tim.