[Bug 60776] noatun starts, but no interface is presented.

Charles Samuels charles at kde.org
Mon Aug 11 00:49:18 BST 2003


------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
     
http://bugs.kde.org/show_bug.cgi?id=60776     
charles at kde.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|                            |FIXED



------- Additional Comments From charles at kde.org  2003-08-11 01:49 -------
Subject: kdemultimedia/noatun/library

CVS commit by charles: 

fix #60776 by ensuring that a UI is always loaded.

CCMAIL:60776-done at bugs.kde.org


  M +4 -1      pluginloader.cpp   1.44


--- kdemultimedia/noatun/library/pluginloader.cpp  #1.43:1.44
@@ -100,9 +100,9 @@ bool LibraryLoader::loadAll(const QStrin
         if (!mPlaylist)
         {
-                NoatunLibraryInfo info = getInfo("splitplaylist.plugin");
                 loadSO("splitplaylist.plugin");
         }
         
         // load all the user interfaces now
+        bool uiloaded=false;
         for(QStringList::ConstIterator i=modules.begin(); i!=modules.end(); ++i)
         {
@@ -111,5 +111,8 @@ bool LibraryLoader::loadAll(const QStrin
                         continue;
                 loadSO(*i);
+                uiloaded = true;
         }
+        if (!uiloaded)
+                loadSO("excellent.plugin");
 
         for(QStringList::ConstIterator i=modules.begin(); i!=modules.end(); ++i)



More information about the kde-multimedia mailing list