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

List:       kde-commits
Subject:    kdebase/kcontrol/kfontinst/kcmfontinst
From:       Craig Drummond <craig () kde ! org>
Date:       2004-05-06 20:48:20
Message-ID: 20040506204820.8E541172F () office ! kde ! org
[Download RAW message or body]

CVS commit by craig: 

warningYesNo returns Yes/No not cancel!


  M +5 -5      KCmFontInst.cpp   1.25


--- kdebase/kcontrol/kfontinst/kcmfontinst/KCmFontInst.cpp  #1.24:1.25
@@ -606,10 +606,10 @@ void CKCmFontInst::removeFonts()
                 break;
             case 1:
-                doIt = KMessageBox::Continue==KMessageBox::warningYesNo(this,
+                doIt = KMessageBox::Yes==KMessageBox::warningYesNo(this,
                            i18n("<qt>Do you really want to delete\n \
<b>'%1'</b>?</qt>").arg(files.first()),  i18n("Delete Item"), i18n("Delete"));
             break;
             default:
-                doIt = KMessageBox::Continue==KMessageBox::warningYesNoList(this,
+                doIt = KMessageBox::Yes==KMessageBox::warningYesNoList(this,
                            i18n("translators: not called for n == 1", "Do you really \
want to delete these %n items?",  files.count()),
@@ -782,5 +782,5 @@ void CKCmFontInst::enableItems(bool enab
             break;
         case 1:
-            doIt = KMessageBox::Continue==KMessageBox::warningYesNo(this,
+            doIt = KMessageBox::Yes==KMessageBox::warningYesNo(this,
                        enable ? i18n("<qt>Do you really want to enable\n \
                <b>'%1'</b>?</qt>").arg(files.first())
                               : i18n("<qt>Do you really want to disable\n \
<b>'%1'</b>?</qt>").arg(files.first()), @@ -789,5 +789,5 @@ void \
CKCmFontInst::enableItems(bool enab  break;
         default:
-            doIt = KMessageBox::Continue==KMessageBox::warningYesNoList(this,
+            doIt = KMessageBox::Yes==KMessageBox::warningYesNoList(this,
                        enable ? i18n("translators: not called for n == 1", "Do you \
really want to enable these %n items?",  files.count())


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

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