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

List:       kde-commits
Subject:    KDE_3_2_BRANCH: kdelibs/kdeui
From:       Stephan Binner <binner () kde ! org>
Date:       2004-06-11 15:35:27
Message-ID: 20040611153527.7576A1F44 () office ! kde ! org
[Download RAW message or body]

CVS commit by binner: 

Work-around kmdi brain damage which calls showPage() in insertTab()


  M +5 -1      ktabwidget.cpp   1.27.2.2


--- kdelibs/kdeui/ktabwidget.cpp  #1.27.2.1:1.27.2.2
@@ -150,5 +150,9 @@ void KTabWidget::moveTab( int from, int 
     removePage( w );
 
-    insertTab( w, tablabel, to );
+    // Work-around kmdi brain damage which calls showPage() in insertTab()
+    QTab * t = new QTab();
+    t->setText(tablabel);
+    QTabWidget::insertTab( w, t, to );
+    
     w = page( to );
     changeTab( w, tabiconset, tablabel );


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

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