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

List:       kde-commits
Subject:    [Konversation] a4b65f7: Tab bar code simplified: Keep it simple,
From:       Dario Abatianni <eisfuchs () tigress ! com>
Date:       2010-07-01 13:27:18
Message-ID: 20100701132718.93FE8BB5591 () projects ! kde ! org
[Download RAW message or body]

commit a4b65f76b342ad530cc68371cf173dc37dfe57fd
Author: Dario Abatianni <eisfuchs@tigress.com>
Date:   Sat Jan 24 15:10:53 2004 +0000

    Tab bar code simplified: Keep it simple, stupid! :)
    
    svn path=/trunk/kdeextragear-2/konversation/; revision=282250

diff --git a/konversation/ledtabbar.cpp b/konversation/ledtabbar.cpp
index 05fed26..cc92839 100644
--- a/konversation/ledtabbar.cpp
+++ b/konversation/ledtabbar.cpp
@@ -295,11 +295,7 @@ void LedTabBar::layoutTabs()
       r.setWidth(r.width()+LABEL_OFFSET);
 
 #if QT_VERSION >= 0x030300
-      if(index)
-        r.moveLeft(offset);
-      else
-        r.moveLeft(0);
-
+      r.moveLeft(offset);
       offset+=r.width();
 #else
       r.moveBy(offset,0);
[prev in list] [next in list] [prev in thread] [next in thread] 

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