[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    kdelibs/kmdi
From:       Dominik Haumann <dhdev () gmx ! de>
Date:       2005-03-05 14:41:05
Message-ID: 20050305144105.A052DEED3 () office ! kde ! org
[Download RAW message or body]

CVS commit by dhaumann: 

fix same bug in kmdi:
1. open sidebar on bottom.
2. overlap it
3. close kate
4. restart kate
5. Now the window was totally borked :)


  M +2 -2      kmdidockcontainer.cpp   1.73


--- kdelibs/kmdi/kmdidockcontainer.cpp  #1.72:1.73
@@ -564,5 +564,5 @@ void KMdiDockContainer::load( QDomElemen
                 {
                         if ( el.attribute( "overlapMode" ) != "false" )
-                                activateOverlapMode( m_tb->width() );
+                                activateOverlapMode( m_horizontal?m_tb->height():m_tb->width() );
                         else
                                 deactivateOverlapMode();
@@ -676,5 +676,5 @@ void KMdiDockContainer::load( KConfig* c
 
         if ( cfg->readEntry( "overlapMode" ) != "false" )
-                activateOverlapMode( m_tb->width() );
+                activateOverlapMode( m_horizontal?m_tb->height():m_tb->width() );
         else
                 deactivateOverlapMode();


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic