]> cloud.milkyroute.net Git - dolphin.git/blobdiff - src/viewproperties.cpp
don't trigger an item if the user does a selection by using the control- or shift...
[dolphin.git] / src / viewproperties.cpp
index 9316a6d5aab1c406db30e8d0ceb14c70a3b2ea2f..24573c1c994c7c66d3aaf297382068ab010c2d61 100644 (file)
@@ -15,7 +15,7 @@
  *   You should have received a copy of the GNU General Public License     *
  *   along with this program; if not, write to the                         *
  *   Free Software Foundation, Inc.,                                       *
- *   59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.             *
+ *   51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA          *
  ***************************************************************************/
 
 #include <assert.h>
 #include <QDateTime>
 #include <QFile>
 
+#include <kcomponentdata.h>
 #include <klocale.h>
 #include <kstandarddirs.h>
 #include <kurl.h>
-#include <kinstance.h>
+#include <kcomponentdata.h>
 
 #include "viewproperties.h"
 #include "dolphinsettings.h"
@@ -178,7 +179,7 @@ void ViewProperties::save()
 
 QString ViewProperties::destinationDir(const QString& subDir) const
 {
-    QString basePath = KGlobal::instance()->instanceName();
+    QString basePath = KGlobal::mainComponent().componentName();
     basePath.append("/view_properties/").append(subDir);
     return KStandardDirs::locateLocal("data", basePath);
 }