[Panel-devel] Slideshow background setting 1 line patch
Anne-Marie Mahfouf
annemarie.mahfouf at free.fr
Tue Dec 4 18:56:42 CET 2007
Please forget about it for the moment (I said I was tired), there are 2 other
bugs here.
Sorry for the noise,
Anne-Marie
On Tuesday 04 December 2007 12:44:21 pm Anne-Marie Mahfouf wrote:
> 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
>
> _______________________________________________
> Panel-devel mailing list
> Panel-devel at kde.org
> https://mail.kde.org/mailman/listinfo/panel-devel
More information about the Panel-devel
mailing list