[uim-commit] r2546 - trunk/qt

ekato at freedesktop.org ekato at freedesktop.org
Mon Dec 12 02:15:41 PST 2005


Author: ekato
Date: 2005-12-12 02:15:35 -0800 (Mon, 12 Dec 2005)
New Revision: 2546

Modified:
   trunk/qt/pref-qt.cpp
Log:
* qt/pref-qt.cpp (UimPrefDialog::createMainWidgets) : Use gettext
  for "Apply".
(confirmQuit) : Change default to "No".


Modified: trunk/qt/pref-qt.cpp
===================================================================
--- trunk/qt/pref-qt.cpp	2005-12-12 08:20:20 UTC (rev 2545)
+++ trunk/qt/pref-qt.cpp	2005-12-12 10:15:35 UTC (rev 2546)
@@ -159,7 +159,7 @@
     QPushButton *okButton = new QPushButton( _("OK"), buttonHWidget );
     QObject::connect( okButton, SIGNAL(clicked()),
                       this, SLOT(slotOK()) );
-    m_applyButton = new QPushButton( "Apply", buttonHWidget );
+    m_applyButton = new QPushButton( _("Apply"), buttonHWidget );
     m_applyButton->setEnabled( false );
     QObject::connect( m_applyButton, SIGNAL(clicked()),
                       this, SLOT(slotApply()) );
@@ -264,7 +264,7 @@
                                           "Do you realy quit this program?"),
                                         _("Yes"),
                                         _("No"),
-                                        QString::null, 0, 1);
+                                        QString::null, 1, -1);
     switch(result)
     {
     case 0:



More information about the uim-commit mailing list