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

List:       kde-commits
Subject:    KDE_3_2_BRANCH: kdelibs/kdeprint/management
From:       Luboš Luňák <l.lunak () kde ! org>
Date:       2004-03-16 8:31:57
Message-ID: 20040316083157.DB7BB9982 () office ! kde ! org
[Download RAW message or body]

CVS commit by lunakl: 

Revert unintended changes.
CCMAIL: "Goffioul Michael" <goffioul@imec.be>


  M +4 -4      kminstancepage.cpp   1.30.2.2


--- kdelibs/kdeprint/management/kminstancepage.cpp  #1.30.2.1:1.30.2.2
@@ -139,6 +139,6 @@ void KMInstancePage::slotNew()
         if (ok)
         {
-                if (name.find(QRegExp("[/\\s]")) != -1)
-                        KMessageBox::error(this, i18n("Instance name may not contain \
any space or slash!")); +                if (name.find(QRegExp("\\s")) != -1)
+                        KMessageBox::error(this, i18n("Instance name may not contain \
any space!"));  else
                 {
@@ -184,6 +184,6 @@ void KMInstancePage::slotCopy()
                 if (ok)
                 {
-                        if (name.find(QRegExp("[/\\s]")) != -1)
-                                KMessageBox::error(this, i18n("Instance name may not \
contain any space or slash!")); +                        if \
(name.find(QRegExp("\\s")) != -1) +                                \
KMessageBox::error(this, i18n("Instance name may not contain any space!"));  else
                         {


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

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