[Kst] kdeextragear-2/kst/kst (silent)
Andrew Walker
arwalker at sumusltd.com
Thu Mar 3 20:38:53 CET 2005
CVS commit by arwalker:
Keep compatibility with earlier versions of KDE.
CVS_SILENT
M +4 -0 kstdatasource.cpp 1.56
M +4 -0 pluginmanager.ui.h 1.22
--- kdeextragear-2/kst/kst/kstdatasource.cpp #1.55:1.56
@@ -212,5 +212,9 @@ static QString obtainFile(const QString&
QString tmpFile;
+#if KDE_VERSION >= KDE_MAKE_VERSION(3,3,0)
if (!KIO::NetAccess::download(source, tmpFile, 0L)) {
+#else
+ if (!KIO::NetAccess::download(source, tmpFile)) {
+#endif
return QString::null;
}
--- kdeextragear-2/kst/kst/pluginmanager.ui.h #1.21:1.22
@@ -34,5 +34,9 @@ void PluginManager::install()
QString tmpFile;
+#if KDE_VERSION >= KDE_MAKE_VERSION(3,3,0)
if (!KIO::NetAccess::download(xmlfile, tmpFile, 0L)) {
+#else
+ if (!KIO::NetAccess::download(xmlfile, tmpFile)) {
+#endif
KMessageBox::error(this, i18n("Unable to access file %1.").arg(xmlfile.prettyURL()), i18n("KST Plugin Loader"));
return;
More information about the Kst
mailing list