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

List:       kde-commits
Subject:    branches/KDE/4.6/kdelibs/kio/kfile
From:       Lukáš Tinkl <lukas () kde ! org>
Date:       2011-01-04 18:48:43
Message-ID: 20110104184843.27B573E1F2 () svn ! kde ! org
[Download RAW message or body]

SVN commit 1211725 by lukas:

correctly display an ampersand (&) instead of an undersscore (_)
in the permissions combos


 M  +1 -1      kpropertiesdialog.cpp  


--- branches/KDE/4.6/kdelibs/kio/kfile/kpropertiesdialog.cpp #1211724:1211725
@@ -2232,7 +2232,7 @@
     Q_ASSERT(standardPermissions[textIndex] != (mode_t)-1); // must not happen, would be irreglar
 
     for (int i = 0; permissionsTexts[(int)d->pmode][i]; i++)
-        combo->addItem(i18n(permissionsTexts[(int)d->pmode][i]));
+        combo->addItem(i18n(permissionsTexts[(int)d->pmode][i]).replace("&", "&&"));
 
     if (partial & tMask & ~UniExec) {
         combo->addItem(i18n("Varying (No Change)"));
[prev in list] [next in list] [prev in thread] [next in thread] 

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