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

List:       kde-commits
Subject:    extragear/multimedia/amarok/src/dialogs
From:       Dan Meltzer <hydrogen () notyetimplemented ! com>
Date:       2008-08-18 21:31:15
Message-ID: 1219095075.981120.30592.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 849023 by dmeltzer:

Make the CollectionSetup dialog work properly on windows by showing the contents of \
My Computer, rather than the (improperly named) rootPath

 M  +4 -0      CollectionSetup.cpp  


--- trunk/extragear/multimedia/amarok/src/dialogs/CollectionSetup.cpp #849022:849023
@@ -67,7 +67,11 @@
     // set the model _after_ constructing the checkboxes
     m_model = new CollectionFolder::Model();
     m_view->setModel( m_model );
+    #ifndef Q_OS_WIN
     m_view->setRootIndex( m_model->setRootPath( QDir::rootPath() ) );
+    #else
+    m_view->setRootIndex( m_model->setRootPath( m_model->myComputer().toString() ) \
); +    #endif
     
     // Read config values
     //we have to detect if this is the actual first run and not get the \
collectionFolders in that case


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

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