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

List:       kde-commits
Subject:    kdebase/kicker/buttons
From:       Toshitaka Fujioka <toshitaka () crux ! ocn ! ne ! jp>
Date:       2003-11-08 19:22:04
[Download RAW message or body]

CVS commit by fujioka: 

fixed load back ground image after login. 


  M +3 -1      panelbutton.cpp   1.10
  M +1 -5      panelbuttonbase.cpp   1.44


--- kdebase/kicker/buttons/panelbutton.cpp  #1.9:1.10
@@ -61,5 +61,6 @@ void PanelButton::configure()
 
     QString tile = tilesGroup.readEntry( name + "Tile" );
-    QColor color;
+    QColor color = QColor();
+
     if (tile == "Colorize")
     {

--- kdebase/kicker/buttons/panelbuttonbase.cpp  #1.43:1.44
@@ -64,4 +64,5 @@ PanelButtonBase::PanelButtonBase(QWidget
   , _size((KIcon::StdSizes)-1), _zoom_size((KIcon::StdSizes)-1)
 {
+    _tileColor = QColor();
     calculateIconSizes();
 
@@ -96,9 +97,4 @@ void PanelButtonBase::setTile(const QStr
         loadTiles();
         update();
-    }
-    else
-    {
-        _tile = QString::null;
-        _tileColor = QColor();
     }
 }


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

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