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

List:       kde-commits
Subject:    kdelibs
From:       Albert Astals Cid <tsdgeos () terra ! es>
Date:       2005-01-12 22:31:26
Message-ID: 20050112223126.116141BBC3 () office ! kde ! org
[Download RAW message or body]

CVS commit by aacid: 

Remove 3 deprecated calls and a unused variable, reviewed and improved by Stephan Binner


  M +0 -1      kdecore/kglobalsettings.cpp   1.87
  M +3 -3      kio/misc/kwalletd/kwalletd.cpp   1.86


--- kdelibs/kdecore/kglobalsettings.cpp  #1.86:1.87
@@ -393,5 +393,4 @@ QFont KGlobalSettings::taskbarFont()
     _taskbarFont->setStyleHint(QFont::SansSerif);
 
-    KConfig *c = KGlobal::config();
     KConfigGroup g( KGlobal::config(), "General" );
     *_taskbarFont = g.readFontEntry("taskbarFont", _taskbarFont);

--- kdelibs/kio/misc/kwalletd/kwalletd.cpp  #1.85:1.86
@@ -380,5 +380,5 @@ int KWalletD::internalOpen(const QCStrin
                                 }
                                 brandNew = false;
-                                kpd->setButtonOKText(i18n("&Open"));
+                                kpd->setButtonOK(KStdGuiItem::open());
                         } else {
                                 emptyPass = true;
@@ -394,5 +394,5 @@ int KWalletD::internalOpen(const QCStrin
                         }
                         brandNew = true;
-                        kpd->setButtonOKText(i18n("&Open"));
+                        kpd->setButtonOK(KStdGuiItem::open());
                 } else {
                         kpd = new KPasswordDialog(KPasswordDialog::NewPassword, false, 0);
@@ -403,5 +403,5 @@ int KWalletD::internalOpen(const QCStrin
                         }
                         brandNew = true;
-                        kpd->setButtonOKText(i18n("&Create"));
+                        kpd->setButtonOK(KGuiItem(i18n("C&reate"),"filenew"));
                 }
 


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

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