]> cloud.milkyroute.net Git - dolphin.git/commitdiff
Fix 3 issues reported by "krazy"
authorPeter Penz <peter.penz19@gmail.com>
Thu, 3 Feb 2011 15:51:08 +0000 (16:51 +0100)
committerPeter Penz <peter.penz19@gmail.com>
Thu, 3 Feb 2011 15:51:08 +0000 (16:51 +0100)
src/panels/filter/filterpanel.cpp
src/panels/folders/treeviewcontextmenu.cpp
src/settings/startup/startupsettingspage.cpp

index 97389e08fd257b45c945b00bd0b34175cf074b55..1ee9ccba4370c36a97f37d7582f08b51d590473f 100644 (file)
@@ -65,7 +65,7 @@ FilterPanel::~FilterPanel()
 
 bool FilterPanel::urlChanged()
 {
 
 bool FilterPanel::urlChanged()
 {
-    if (!url().protocol().startsWith("nepomuk")) {
+    if (!url().protocol().startsWith(QLatin1String("nepomuk"))) {
         // Remember the current directory before a searching is started.
         // This is required to restore the directory in case that all facets
         // have been reset by the user (see slotQueryTermChanged()).
         // Remember the current directory before a searching is started.
         // This is required to restore the directory in case that all facets
         // have been reset by the user (see slotQueryTermChanged()).
index 5c9151df0603055ffe2578f822b6b200036d805d..80a14b21d7f17a47b83d208c50ddbd64af979de7 100644 (file)
@@ -1,6 +1,6 @@
 /***************************************************************************
  *   Copyright (C) 2006-2010 by Peter Penz <peter.penz19@gmail.com>        *
 /***************************************************************************
  *   Copyright (C) 2006-2010 by Peter Penz <peter.penz19@gmail.com>        *
- *   Copyright (C) 2006 by Cvetoslav Ludmiloff                             *
+ *   Copyright (C) 2006 by Cvetoslav Ludmiloff <ludmiloff@gmail.com>       *
  *                                                                         *
  *   This program is free software; you can redistribute it and/or modify  *
  *   it under the terms of the GNU General Public License as published by  *
  *                                                                         *
  *   This program is free software; you can redistribute it and/or modify  *
  *   it under the terms of the GNU General Public License as published by  *
index 4dd7d19f55cf07728e4097de2355b819cb83fb3e..c3fdbc656e824a3082a74c081e0635a528bf75cd 100644 (file)
@@ -140,7 +140,7 @@ void StartupSettingsPage::restoreDefaults()
 void StartupSettingsPage::slotSettingsChanged()
 {
     // Provide a hint that the startup settings have been changed. This allows the views
 void StartupSettingsPage::slotSettingsChanged()
 {
     // Provide a hint that the startup settings have been changed. This allows the views
-    // to apply the startup settings only if they have been explicitely changed by the user
+    // to apply the startup settings only if they have been explicitly changed by the user
     // (see bug #254947).
     GeneralSettings* settings = DolphinSettings::instance().generalSettings();
     settings->setModifiedStartupSettings(true);
     // (see bug #254947).
     GeneralSettings* settings = DolphinSettings::instance().generalSettings();
     settings->setModifiedStartupSettings(true);