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

List:       kde-commits
Subject:    kdeutils/ksim
From:       Aaron J. Seigo <aseigo () kde ! org>
Date:       2004-02-24 4:24:03
Message-ID: 20040224042403.290069190 () office ! kde ! org
[Download RAW message or body]

CVS commit by aseigo: 

gcc 3.4 fixes, courtesy of Pawel Sikora, pld-linux


  M +8 -3      ksimview.cpp   1.86
  M +2 -2      library/themeloader.h   1.31


--- kdeutils/ksim/ksimview.cpp  #1.85:1.86
@@ -273,10 +273,12 @@ void KSim::MainView::reparseConfig(bool 
     if ((*it).isDifferent()) {
       if ((*it).isEnabled()) { // Go through the added/removed plugins and load/unload them
-        addPlugin(KDesktopFile((*it).filename()));
+        const KDesktopFile kdf((*it).filename());
+        addPlugin(kdf);
         m_prefDialog->createPage((*it).libName());
       }
       else {
         m_prefDialog->removePage((*it).libName());
-        removePlugin(KDesktopFile((*it).filename()));
+        const KDesktopFile kdf((*it).filename());
+        removePlugin(kdf);
       }
     }
@@ -305,5 +307,8 @@ void KSim::MainView::addPlugins()
   QStringList::ConstIterator it;
   for (it = locatedFiles.begin(); it != locatedFiles.end(); ++it)
-    addPlugin(KDesktopFile(*it, true));
+  {
+    const KDesktopFile kdf(*it, true);
+    addPlugin(kdf);
+  }
 }
 

--- kdeutils/ksim/library/themeloader.h  #1.30:1.31
@@ -365,7 +365,8 @@ namespace KSim
          QColor &textColour, QColor &shadowColour, bool &showShadow) const;
 
+      Theme(const KSim::Theme &);
+
     private:
       Theme();
-      Theme(const KSim::Theme &);
       Theme(const QString &url, const QString &fileName, int alt,
          const QValueVector<QString> &vector, const QStringList &list,


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

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