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

List:       kde-commits
Subject:    KDE/kdelibs/kross/ui
From:       Nickolai Shaforostoff <shafff () ukr ! net>
Date:       2009-05-07 17:28:48
Message-ID: 1241717328.230769.29290.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 964940 by shaforo:

pass search path on saving



 M  +3 -1      plugin.cpp  


--- trunk/KDE/kdelibs/kross/ui/plugin.cpp #964939:964940
@@ -210,7 +210,9 @@
     bool collectionEmpty = \
!collection||(collection->actions().empty()&&collection->collections().empty());  
     if( !collectionEmpty ) {
-        if( collection->writeXml(&f) ) {
+        QStringList searchPath=KGlobal::dirs()->findDirs("appdata", \
"scripts/"+d->referenceActionsDir); +        \
searchPath.append(QFileInfo(d->userActionsFile).absolutePath()); +        if( \
                collection->writeXml(&f, 2, searchPath) ) {
             kDebug() << "Successfully saved file: " << d->userActionsFile;
         }
     }


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

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