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

List:       kde-bugs-dist
Subject:    [Bug 153142] Web Shortcuts delimiter stuck as colon
From:       Teodosiy Kirilov <tdik123 () gmail ! com>
Date:       2008-10-04 14:16:35
Message-ID: 20081004141635.B727512EE3 () immanuel ! kde ! org
[Download RAW message or body]

http://bugs.kde.org/show_bug.cgi?id=153142


Teodosiy Kirilov tdik123 gmail com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |tdik123@gmail.com




--- Comment #19 from Teodosiy Kirilov <tdik123 gmail com>  2008-10-04 16:16:33 ---
As of KDE 4.1.2 this bug is still present.
It seems that KConfig.readEntry() won't parse space as an int :-)

--- cut ---
Index: konq-plugins/searchbar/searchbar.cpp
===================================================================
--- konq-plugins/searchbar/searchbar.cpp        (revision 867761)
+++ konq-plugins/searchbar/searchbar.cpp        (working copy)
@@ -103,7 +103,7 @@
     if (s_delimiter == 0) {
         KConfig _config("kuriikwsfilterrc", KConfig::NoGlobals);
         KConfigGroup config(&_config, "General");
-        s_delimiter = config.readEntry("KeywordDelimiter", int(':'));
+        s_delimiter = config.readEntry("KeywordDelimiter",
QString(":")).at(0);
     }
     return s_delimiter;
 }
--- cut ---


-- 
Configure bugmail: http://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching all bug changes.
[prev in list] [next in list] [prev in thread] [next in thread] 

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