summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexey Chernov <[email protected]>2016-02-06 13:57:13 +0300
committerPali Roh├ír <[email protected]>2017-12-22 09:10:20 +0100
commitef1d3b0820eae27740c40c733f581db6355c59ef (patch)
tree78f3268fb43f36584f1fc7279820d0f0fed60b02
parent6453553036c41aed30980560e726c9aff2b1ca95 (diff)
Fix loading styles
Fix style paths QUrl creation so that they can be properly listed.
-rw-r--r--kopete/chatwindow/kopetechatwindowstylemanager.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/kopete/chatwindow/kopetechatwindowstylemanager.cpp b/kopete/chatwindow/kopetechatwindowstylemanager.cpp
index 53f4b80..2ec8829 100644
--- a/kopete/chatwindow/kopetechatwindowstylemanager.cpp
+++ b/kopete/chatwindow/kopetechatwindowstylemanager.cpp
@@ -91,7 +91,7 @@ void ChatWindowStyleManager::loadStyles()
foreach(const QString &styleDir, chatStyles)
{
kDebug(14000) << styleDir;
- d->styleDirs.push( QUrl(styleDir) );
+ d->styleDirs.push( QUrl::fromLocalFile(styleDir) );
}
d->styleDirLister = new KDirLister(this);