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

List:       koffice-devel
Subject:    [patch] fix for problem found with icefox's isempty test -
From:       Brad Hards <bradh () frogmouth ! net>
Date:       2004-10-22 23:57:14
Message-ID: 200410230957.19094.bradh () frogmouth ! net
[Download RAW message or body]

[Attachment #2 (multipart/signed)]

[Attachment #4 (multipart/mixed)]


[I'm running kde/kdenonbeta/kdetestscripts in koffice, a few problems are=20
inevitable :-]

Is this patch OK to apply?

Brad

["isemptytestfix-2004-10-23.patch" (text/x-diff)]

Index: importwizard.cpp
===================================================================
RCS file: /home/kde/koffice/kexi/migration/importwizard.cpp,v
retrieving revision 1.10
diff -u -4 -p -r1.10 importwizard.cpp
--- importwizard.cpp	11 Oct 2004 11:40:31 -0000	1.10
+++ importwizard.cpp	22 Oct 2004 23:53:31 -0000
@@ -186,10 +186,10 @@ bool importWizard::checkUserInput()
     {
         problem = true;
         finishtxt = i18n("Source type was not PostgreSQL Database.");
     }
-    if ((dstNewDBName->text() == "Enter new database name here" || dstNewDBName->text() == "") 
-		&& dstTypeCombo->currentText().lower() == KexiDB::Driver::defaultFileBasedDriverName())
+    if ((dstNewDBName->text() == "Enter new database name here" || dstNewDBName->text().isEmpty()) 
+	&& dstTypeCombo->currentText().lower() == KexiDB::Driver::defaultFileBasedDriverName())
     {
         problem = true;
         finishtxt = finishtxt + i18n("\nNo new database name was entered.");
     }

[Attachment #8 (application/pgp-signature)]

_______________________________________________
koffice-devel mailing list
koffice-devel@kde.org
https://mail.kde.org/mailman/listinfo/koffice-devel


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

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