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

List:       kde-commits
Subject:    kdebase/kcontrol/icons
From:       Stephan Binner <binner () kde ! org>
Date:       2005-01-18 9:38:40
Message-ID: 20050118093840.AB58D1C06C () office ! kde ! org
[Download RAW message or body]

CVS commit by binner: 

Use warningContinueCancel for delete confirmation


  M +2 -2      iconthemes.cpp   1.53


--- kdebase/kcontrol/icons/iconthemes.cpp  #1.52:1.53
@@ -295,6 +295,6 @@ void IconThemesConfig::removeSelectedThe
   bool deletingCurrentTheme=(selected==iconThemeItem(KIconTheme::current()));
 
-  int r=KMessageBox::questionYesNo(this,question,i18n("Confirmation"));
-  if (r!=KMessageBox::Yes) return;
+  int r=KMessageBox::warningContinueCancel(this,question,i18n("Confirmation"),KStdGuiItem::del());
+  if (r!=KMessageBox::Continue) return;
 
   KIconTheme icontheme(m_themeNames[selected->text(0)]);


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

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