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

List:       kde-commits
Subject:    branches/KDE/3.5/kdesdk/umbrello/umbrello/docgenerators
From:       Oliver Kellogg <okellogg () users ! sourceforge ! net>
Date:       2007-06-30 18:09:43
Message-ID: 1183226983.761128.9467.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 681900 by okellogg:

compile with KDE 3.3

 M  +8 -0      docbookgenerator.cpp  


--- branches/KDE/3.5/kdesdk/umbrello/umbrello/docgenerators/docbookgenerator.cpp #681899:681900
@@ -73,7 +73,15 @@
       destDir, false);
   if (!errors.empty())
   {
+#if KDE_IS_VERSION(3,4,0)
     KMessageBox::errorList(app, i18n("Some errors happened when exporting the images:"), errors);
+#else
+    QString errorsCaption;
+    for (QStringList::Iterator it = errors.begin(); it != errors.end(); ++it) {
+        errorsCaption += "\n" + *it;
+    }
+    KMessageBox::error(app, i18n("Some errors happened when exporting the images:") + errorsCaption);
+#endif
     return 0;
   }
 
[prev in list] [next in list] [prev in thread] [next in thread] 

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