From 687f40b54564a99b734dac4a5328b848c4795206 Mon Sep 17 00:00:00 2001 From: Peter Penz Date: Thu, 3 Feb 2011 16:51:08 +0100 Subject: Fix 3 issues reported by "krazy" --- src/panels/filter/filterpanel.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/panels/filter') 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()). -- cgit v1.3