[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: koffice/libs/main
From: Thomas Zander <zander () kde ! org>
Date: 2009-02-28 22:09:24
Message-ID: 1235858964.137535.29801.nullmailer () svn ! kde ! org
[Download RAW message or body]
SVN commit 933432 by zander:
Rewrite this without depending on the Qt3 class behavior.
M +6 -4 KoMainWindow.cpp
--- trunk/koffice/libs/main/KoMainWindow.cpp #933431:933432
@@ -1437,10 +1437,12 @@
void KoMainWindow::slotSplitView()
{
d->m_splitted = true;
- d->m_rootViews.append(d->m_rootDoc->createView(d->m_splitter));
- d->m_rootViews.current()->show();
- d->m_rootViews.current()->setPartManager(d->m_manager);
- d->m_manager->setActivePart(d->m_rootDoc, d->m_rootViews.current());
+ KoView *current = d->m_rootViews.current();
+ KoView *newView = d->m_rootDoc->createView(d->m_splitter);
+ d->m_rootViews.append(newView);
+ current->show();
+ current->setPartManager(d->m_manager);
+ d->m_manager->setActivePart(d->m_rootDoc, current);
d->m_removeView->setEnabled(true);
d->m_orientation->setEnabled(true);
}
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic