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

List:       kde-commits
Subject:    KDE/kdelibs/kinit
From:       Luboš Luňák <l.lunak () kde ! org>
Date:       2009-05-12 21:12:41
Message-ID: 1242162761.676227.3557.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 967208 by lunakl:

I don't think preloading libkonq in kdeinit makes a big difference
in KDE4, but libplasma should (loaded by almost everything in the workspace
and has heavyweight dependencies).



 M  +3 -3      kinit.cpp  


--- trunk/KDE/kdelibs/kinit/kinit.cpp #967207:967208
@@ -1689,11 +1689,11 @@
 #ifdef Q_WS_X11
    if (!d.suicide && qgetenv("KDE_IS_PRELINKED").isEmpty())
    {
-       QString konq = KStandardDirs::locate("lib", QLatin1String("libkonq.so.5"), *s_instance);
+       QString extra = KStandardDirs::locate("lib", QLatin1String("libplasma.so.3"), *s_instance);
        // can't use KLibLoader here as it would unload the library
        // again
-       if (!konq.isEmpty()) {
-           QLibrary l(konq);
+       if (!extra.isEmpty()) {
+           QLibrary l(extra);
            l.setLoadHints(QLibrary::ExportExternalSymbolsHint);
            l.load();
        }
[prev in list] [next in list] [prev in thread] [next in thread] 

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