summaryrefslogtreecommitdiff
path: root/muse2/muse/cobject.cpp
diff options
context:
space:
mode:
authorFlorian Jung <flo@windfisch.org>2011-09-14 17:00:09 +0000
committerFlorian Jung <flo@windfisch.org>2011-09-14 17:00:09 +0000
commit187665d84e56b63f569731550c652a89cb650309 (patch)
treee6e346fe682e153c5542d1654ba62b35b9e1dd23 /muse2/muse/cobject.cpp
parenta5555e41a4ba5ef5c2d38af29ed8a1d22831998f (diff)
- provided sane configuration defaults
- updated templates - windows->tile/arrange in rows/columns doesn't maximize a window if it's the only one - removed "bool initalizing stuff" - small fixes for focusing and toolbar-sharing
Diffstat (limited to 'muse2/muse/cobject.cpp')
-rw-r--r--muse2/muse/cobject.cpp10
1 files changed, 0 insertions, 10 deletions
diff --git a/muse2/muse/cobject.cpp b/muse2/muse/cobject.cpp
index a4fbd6c7..eff6d9af 100644
--- a/muse2/muse/cobject.cpp
+++ b/muse2/muse/cobject.cpp
@@ -51,12 +51,8 @@ TopWin::TopWin(ToplevelType t, QWidget* parent, const char* name, Qt::WindowFlag
if (initInited==false)
initConfiguration();
- initalizing=true;
-
_type=t;
-
-
setObjectName(QString(name));
// Allow multiple rows. Tim.
//setDockNestingEnabled(true);
@@ -350,12 +346,6 @@ void TopWin::shareToolsAndMenu(bool val)
void TopWin::storeInitialState() const
{
- if (initalizing)
- {
- printf("THIS SHOULD NEVER HAPPEN: STORE INIT STATE CALLED WHILE INITING! please IMMEDIATELY report that to flo!\n");
- exit(1);
- }
-
_widthInit[_type] = width();
_heightInit[_type] = height();
if (sharesToolsAndMenu())