[kgraphviewer-devel] [kgraphviewer] src/part: Remove nonsensical call to KGlobal::dirs()->addPrefix(), found via lxr.
David Faure
faure at kde.org
Mon Mar 19 18:15:52 UTC 2012
Git commit 8f3559d0f7458e448e189be83ecb439d11e72bb0 by David Faure.
Committed on 19/03/2012 at 19:15.
Pushed by dfaure into branch 'master'.
Remove nonsensical call to KGlobal::dirs()->addPrefix(), found via lxr.
This is for absolute paths where to look up stuff (in addition to $KDEDIRS),
not for "gv_".
M +0 -5 src/part/KgvGlobal.cpp
http://commits.kde.org/kgraphviewer/8f3559d0f7458e448e189be83ecb439d11e72bb0
diff --git a/src/part/KgvGlobal.cpp b/src/part/KgvGlobal.cpp
index 91c05b4..ee79e58 100644
--- a/src/part/KgvGlobal.cpp
+++ b/src/part/KgvGlobal.cpp
@@ -57,11 +57,6 @@ KgvGlobal::KgvGlobal()
// Install the libkoffice* translations
// KGlobal::locale()->insertCatalogue("koffice");
-// KImageIO::registerFormats();
-
- // Tell KStandardDirs about the koffice prefix
- KGlobal::dirs()->addPrefix("kgv_");
-
// Tell the iconloader about share/apps/koffice/icons
// KGlobal::iconLoader()->addAppDir("koffice");
More information about the kgraphviewer-devel
mailing list