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

List:       kde-commits
Subject:    kdebase/kcontrol/locale
From:       Charles Samuels <charles () kde ! org>
Date:       2002-10-19 20:32:00
[Download RAW message or body]

CVS commit by charles: 


Obey the Icon configuration that's KDE-wide.  Use KIconLoader.

-      QPixmap flag( locate( "locale",
+      QString flag( locate( "locale",
                            QString::fromLatin1( "l10n/%1/flag.png" )
							                            .arg(tag) ) );
-      QIconSet icon( flag );
+      QIconSet icon( KGlobal::iconLoader()->loadIconSet(flag, KIcon::Small) );
       m_comboCountry->insertItem( icon, name, tag, submenu, menu_index );
	        }

  M  +3 -2     kcmlocale.cpp   1.102

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

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