https://bugs.kde.org/show_bug.cgi?id=222841

Gustavo Alvarez <sl1pk...@gmail.com> changed:

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

--- Comment #10 from Gustavo Alvarez <sl1pk...@gmail.com> ---
fixed the qurl issue and fix the skin (and a little update deprecation warning)

diff --git a/kscd.kcfg b/kscd.kcfg
index c6f8daf..8f2f124 100644
--- a/kscd.kcfg
+++ b/kscd.kcfg
@@ -28,7 +28,7 @@
            <whatsthis>Change the font of the text in the panel</whatsthis>
         </entry>
        <entry name="url" type="String">
-               <default
code="true">QStandardPaths::standardLocations(QStandardPaths::DataLocation).last()
+ QLatin1String("kscd/skin/default.svg")</default>
+               <default
code="true">QStandardPaths::standardLocations(QStandardPaths::DataLocation).last()
+ QLatin1String("/skin/default.svg")</default>
          <label>The skin that will be use for the application</label>
          <whatsthis>Change the skin of the application</whatsthis>
        </entry>

diff --git a/mbmanager.cpp b/mbmanager.cpp
index 1f3d245..9f0b301 100644
--- a/mbmanager.cpp
+++ b/mbmanager.cpp
@@ -32,6 +32,7 @@
  */
 #include "mbmanager.h"

+#include <QUrl>
 #include <QDebug>
 #include <QDesktopServices>

diff --git a/kscd.kcfg b/kscd.kcfg
index c6f8daf..8f2f124 100644
--- a/kscd.kcfg
+++ b/kscd.kcfg
@@ -28,7 +28,7 @@
            <whatsthis>Change the font of the text in the panel</whatsthis>
         </entry>
        <entry name="url" type="String">
-               <default
code="true">QStandardPaths::standardLocations(QStandardPaths::DataLocation).last()
+ QLatin1String("kscd/skin/default.svg")</default>
+               <default
code="true">QStandardPaths::standardLocations(QStandardPaths::DataLocation).last()
+ QLatin1String("/skin/default.svg")</default>
          <label>The skin that will be use for the application</label>
          <whatsthis>Change the skin of the application</whatsthis>
        </entry>


greetings

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to