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

List:       kde-commits
Subject:    koffice/libs/resources
From:       Boudewijn Rempt <boud () valdyas ! org>
Date:       2009-09-28 10:21:28
Message-ID: 1254133288.619577.17015.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 1028846 by rempt:

fix loading of resources

I had forgotten to initialize the m_cancelled parameter

 M  +7 -1      KoResourceServer.h  


--- trunk/koffice/libs/resources/KoResourceServer.h #1028845:1028846
@@ -55,7 +55,12 @@
     * @param extensions the file extensions separate by ':', e.g. "*.kgr:*.svg:*.ggr"
     */
     KoResourceServerBase(const QString& type, const QString& extensions)
-        : m_type(type), m_extensions(extensions) {}
+        : m_type(type)
+        , m_extensions(extensions)
+        , m_cancelled(false)
+    {
+    }
+
     virtual ~KoResourceServerBase() {}
 
     virtual void loadResources(QStringList filenames) = 0;
@@ -89,6 +94,7 @@
 public:
     KoResourceServer(const QString& type, const QString& extensions)
         : KoResourceServerBase(type, extensions)
+
         {
         }
 
[prev in list] [next in list] [prev in thread] [next in thread] 

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