[Panel-devel] Slideshow background setting 1 line patch
Anne-Marie Mahfouf
annemarie.mahfouf at free.fr
Tue Dec 4 18:44:21 CET 2007
Hi,
This 1 line is patch to change the folder for slideshows on the desktop. It
highlights the new added folder so it's the one selected as current ;)
Index: desktop.cpp
===================================================================
--- desktop.cpp (revision 744723)
+++ desktop.cpp (working copy)
@@ -295,6 +295,7 @@
KFileDialog * dialog = qobject_cast<KFileDialog*>(sender());
QString path = dialog->selectedUrl().path();
m_ui->slidePaths->addItem(path);
+ m_ui->slidePaths->setCurrentRow (m_ui->slidePaths->count()-1 );
dialog->deleteLater();
}
Seems harmless but after a night in the train I don't trust myself ;)
Anne-Marie
More information about the Panel-devel
mailing list