[Kst] branches/work/kst/kst1kde4/kst/src/libkstapp

Zongyi Zhang freebody.kst at gmail.com
Tue Mar 23 23:16:15 CET 2010


SVN commit 1106770 by zhang:

continue kst1kde4

 M  +2 -2      kstdoc.cpp  


--- branches/work/kst/kst1kde4/kst/src/libkstapp/kstdoc.cpp #1106769:1106770
@@ -588,14 +588,14 @@
   KST::dataObjectList.lock().unlock();
 
   if (!bitBucket.isEmpty()) {
-    QStringList names;
+    QString names = i18n("The Kst file could not be loaded in its entirety due to missing objects or data.\n";
     for (KstDataObjectList::Iterator i = bitBucket.begin(); i != bitBucket.end(); ++i) {
       names += (*i)->tagName();
     }
 
     QApplication::restoreOverrideCursor();
 
-    KMessageBox::errorList(KstApp::inst(), i18n("The Kst file could not be loaded in its entirety due to missing objects or data."), names);
+    QMessageBox::critical(KstApp::inst(), i18n("Kst"), names);
 
     QApplication::setOverrideCursor(QCursor(Qt::WaitCursor));
   }


More information about the Kst mailing list