diff options
| author | 2008-09-14 15:25:11 +0000 | |
|---|---|---|
| committer | 2008-09-14 15:25:11 +0000 | |
| commit | d1ce4b7ff1b44be466ec69b6779b873536c4d06a (patch) | |
| tree | e80538b6510561043e45734fa333875441f98f80 /src | |
| parent | windowlist: added object name :) (diff) | |
| download | KVIrc-d1ce4b7ff1b44be466ec69b6779b873536c4d06a.tar.gz KVIrc-d1ce4b7ff1b44be466ec69b6779b873536c4d06a.tar.bz2 KVIrc-d1ce4b7ff1b44be466ec69b6779b873536c4d06a.zip | |
fixed windowlist position after change from classic->tree and viceversa
git-svn-id: https://svn.kvirc.de/svn/trunk/kvirc@2462 17fca916-40b9-46aa-a4ea-0a15b648b75c
Diffstat (limited to 'src')
| -rw-r--r-- | src/kvirc/ui/kvi_frame.cpp | 30 |
1 files changed, 0 insertions, 30 deletions
diff --git a/src/kvirc/ui/kvi_frame.cpp b/src/kvirc/ui/kvi_frame.cpp index e946b94ab..c685ce686 100644 --- a/src/kvirc/ui/kvi_frame.cpp +++ b/src/kvirc/ui/kvi_frame.cpp @@ -1257,9 +1257,6 @@ void KviFrame::createWindowList() void KviFrame::recreateWindowList()
{
- QString szOldClass = m_pWindowList->metaObject()->className();
-
- saveToolBarPositions();
KviWindow * w;
for(w = m_pWinList->first();w;w = m_pWinList->next())
{
@@ -1271,33 +1268,6 @@ void KviFrame::recreateWindowList() {
w->createWindowListItem();
}
- restoreToolBarPositions();
-
-
- /*
- QString szNewClass = m_pWindowList->className();
- if(szOldClass != szNewClass)
- {
- // the class changed...
- // make sure that the tree task bar is in the left or right dock
- // and the classic one is in the top or bottom on
-
- Qt::Dock dock;
- int index;
- bool nl;
- int eo;
- getLocation(m_pWindowList,dock,index,nl,eo);
-
- if(KVI_OPTION_BOOL(KviOption_boolUseTreeWindowListWindowList))
- {
- if((dock == Qt::Bottom) || (dock == Qt::Top))
- moveDockWindow(m_pWindowList,Qt::Left);
- } else {
- if((dock == Qt::Left) || (dock == Qt::Right))
- moveDockWindow(m_pWindowList,Qt::Bottom);
- }
- }
- */
if(g_pActiveWindow)m_pWindowList->setActiveItem(g_pActiveWindow->windowListItem());
}
|
