From: Peter Penz Date: Thu, 3 Feb 2011 15:51:08 +0000 (+0100) Subject: Fix 3 issues reported by "krazy" X-Git-Url: https://cloud.milkyroute.net/gitweb/dolphin.git/commitdiff_plain/687f40b54564a99b734dac4a5328b848c4795206?ds=sidebyside Fix 3 issues reported by "krazy" --- diff --git a/src/panels/filter/filterpanel.cpp b/src/panels/filter/filterpanel.cpp index 97389e08f..1ee9ccba4 100644 --- a/src/panels/filter/filterpanel.cpp +++ b/src/panels/filter/filterpanel.cpp @@ -65,7 +65,7 @@ FilterPanel::~FilterPanel() 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()). diff --git a/src/panels/folders/treeviewcontextmenu.cpp b/src/panels/folders/treeviewcontextmenu.cpp index 5c9151df0..80a14b21d 100644 --- a/src/panels/folders/treeviewcontextmenu.cpp +++ b/src/panels/folders/treeviewcontextmenu.cpp @@ -1,6 +1,6 @@ /*************************************************************************** * Copyright (C) 2006-2010 by Peter Penz * - * Copyright (C) 2006 by Cvetoslav Ludmiloff * + * Copyright (C) 2006 by Cvetoslav Ludmiloff * * * * 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 * diff --git a/src/settings/startup/startupsettingspage.cpp b/src/settings/startup/startupsettingspage.cpp index 4dd7d19f5..c3fdbc656 100644 --- a/src/settings/startup/startupsettingspage.cpp +++ b/src/settings/startup/startupsettingspage.cpp @@ -140,7 +140,7 @@ void StartupSettingsPage::restoreDefaults() 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);