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

List:       kde-commits
Subject:    kdebase/kcontrol/locale
From:       Hans Petter Bieker <bieker () kde ! org>
Date:       2002-12-05 20:26:33
[Download RAW message or body]

CVS commit by bieker: 

Clear should not change the text if it's not in combobox mode.


  M +5 -2      klanguagebutton.cpp   1.9


--- kdebase/kcontrol/locale/klanguagebutton.cpp:1.8	Thu Dec  5 19:38:50 2002
@@ -209,8 +209,11 @@
   connect( m_popup, SIGNAL( highlighted( int ) ),
 	   SLOT( slotHighlighted( int ) ) );
 
-  d->button->setText( QString::null );
-  d->button->setIconSet( QIconSet() );
+  if ( !d->staticText )
+    {
+      d->button->setText( QString::null );
+      d->button->setIconSet( QIconSet() );
+    }
 }
 
 bool KLanguageButton::contains( const QString & id ) const

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

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