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

List:       kde-commits
Subject:    kdeedu/klatin/klatin
From:       Anne-Marie Mahfouf <annma () kde ! org>
Date:       2004-10-21 19:48:33
Message-ID: 20041021194833.C94A816BAC () office ! kde ! org
[Download RAW message or body]

CVS commit by annma: 

avoid exit(0) whenever possible


  M +1 -1      klatinvocab.cpp   1.40


--- kdeedu/klatin/klatin/klatinvocab.cpp  #1.39:1.40
@@ -110,5 +110,5 @@ void KLatinVocab::parseVocab(QString cus
                 if (QFile::exists(defaultFile) == FALSE) {
                         KMessageBox::error(this, i18n("Could not load vocabulary \
file; there is a problem with your KLatin installation."), i18n("Error with \
                KLatin"));
-                        exit(0);
+                        kapp->quit();
                 } else {
                         fileName = defaultFile;


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

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