[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: kdelibs/kmdi/kmdi
From: Christoph Cullmann <crossfire () babylon2k ! de>
Date: 2004-08-28 14:50:19
Message-ID: 20040828145019.76CDB253E () office ! kde ! org
[Download RAW message or body]
CVS commit by cullmann:
does not show always on reparent
M +1 -1 mainwindow.cpp 1.13
M +1 -1 toolviewaccessor.cpp 1.7
--- kdelibs/kmdi/kmdi/mainwindow.cpp #1.12:1.13
@@ -286,5 +286,5 @@ KMDI::ToolViewAccessor *MainWindow::addT
if (pos == KDockWidget::DockNone) {
mtva->d->widgetContainer->setEnableDocking(KDockWidget::DockNone);
- mtva->d->widgetContainer->reparent(this, Qt::WType_TopLevel | Qt::WType_Dialog, \
r.topLeft(), true); //pToolView->isVisible()); + \
mtva->d->widgetContainer->reparent(this, Qt::WType_TopLevel | Qt::WType_Dialog, \
r.topLeft(), isVisible()); } else { // add (and dock) the toolview as DockWidget \
view
//const QPixmap& wndIcon = pWnd->icon() ? *(pWnd->icon()) : QPixmap();
--- kdelibs/kmdi/kmdi/toolviewaccessor.cpp #1.6:1.7
@@ -159,5 +159,5 @@ void ToolViewAccessor::place(KDockWidget
if (pos == KDockWidget::DockNone) {
d->widgetContainer->setEnableDocking(KDockWidget::DockNone);
- d->widgetContainer->reparent(mdiMainFrm, Qt::WType_TopLevel | \
Qt::WType_Dialog, QPoint(0,0), true); //pToolView->isVisible()); + \
d->widgetContainer->reparent(mdiMainFrm, Qt::WType_TopLevel | Qt::WType_Dialog, \
QPoint(0,0), mdiMainFrm->isVisible()); }
else { // add (and dock) the toolview as DockWidget view
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic