summaryrefslogtreecommitdiff
path: root/muse2/muse/cobject.cpp
diff options
context:
space:
mode:
authorTim E. Real <termtech@rogers.com>2010-11-22 02:57:00 +0000
committerTim E. Real <termtech@rogers.com>2010-11-22 02:57:00 +0000
commit7b646661584da97edbaedf4aeb8ccdb5ce7120ae (patch)
tree85255cfef745ba807ba0c9c5902cd85ff551da61 /muse2/muse/cobject.cpp
parent147b944d89c06c9cfe28d39ff2ba820c0cc4b83f (diff)
Ported View and MidiEditor classes. Fixed TopWin constructor.
Diffstat (limited to 'muse2/muse/cobject.cpp')
-rw-r--r--muse2/muse/cobject.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/muse2/muse/cobject.cpp b/muse2/muse/cobject.cpp
index 8f12edf0..e601d221 100644
--- a/muse2/muse/cobject.cpp
+++ b/muse2/muse/cobject.cpp
@@ -57,8 +57,9 @@ void TopWin::writeStatus(int level, Xml& xml) const
}
TopWin::TopWin(QWidget* parent, const char* name,
- Qt::WFlags f) : QMainWindow(parent, name, f)
+ Qt::WindowFlags f) : QMainWindow(parent, f)
{
+ setObjectName(QString(name));
setAttribute(Qt::WA_DeleteOnClose);
// Allow multiple rows. Tim.
//setDockNestingEnabled(true);