All pastes #812133 Raw Edit

Untitled

public text v1 · immutable
·published 2007-12-11 15:11 UTC
rendered paste body
Index: knewpassworddialog.ui
===================================================================
--- knewpassworddialog.ui	(revisione 747270)
+++ knewpassworddialog.ui	(copia locale)
@@ -36,14 +36,14 @@
        </property>
        <property name="minimumSize" >
         <size>
-         <width>96</width>
-         <height>96</height>
+         <width>128</width>
+         <height>128</height>
         </size>
        </property>
        <property name="maximumSize" >
         <size>
-         <width>96</width>
-         <height>96</height>
+         <width>128</width>
+         <height>128</height>
         </size>
        </property>
        <property name="frameShape" >
Index: knewpassworddialog.cpp
===================================================================
--- knewpassworddialog.cpp	(revisione 747270)
+++ knewpassworddialog.cpp	(copia locale)
@@ -68,7 +68,7 @@
 
     ui.setupUi( q->mainWidget() );
 
-    ui.labelIcon->setPixmap( KIcon("dialog-password").pixmap(96, 96) );
+    ui.labelIcon->setPixmap( KIcon("dialog-password").pixmap(128, 128) );
     ui.labelMatch->setHidden(true);
 
     const QString strengthBarWhatsThis(i18n("The password strength meter gives an indication of the security "
@@ -100,15 +100,15 @@
     }
 
     if ( match && !q->allowEmptyPasswords() && ui.linePassword->text().isEmpty()) {
-        ui.labelMatch->setPixmap( KIcon("no") );
+        ui.labelMatch->setPixmap( KIcon("edit-delete") );
         ui.labelMatch->setText( i18n("Password is empty") );
     }
     else {
         if ( ui.linePassword->text().length() < minPasswordLength ) {
-            ui.labelMatch->setPixmap( KIcon("no") );
+            ui.labelMatch->setPixmap( KIcon("edit-delete") );
             ui.labelMatch->setText(i18np("Password must be at least 1 character long", "Password must be at least %1 characters long", minPasswordLength));
         } else {
-            ui.labelMatch->setPixmap( match ? KIcon("ok") : KIcon("no") );
+            ui.labelMatch->setPixmap( match ? KIcon("ok") : KIcon("edit-delete") );
             ui.labelMatch->setText( match? i18n("Passwords match")
                 :i18n("Passwords do not match") );
         }