Commit b5d8fbdb authored by Aurélien Gâteau's avatar Aurélien Gâteau
Browse files

Fix slideshow not starting

Make sure we go in view mode when started with "-" and when "Start Slideshow"
is selected from menu.

BUG: 304782
parent 2635e6de
......@@ -922,6 +922,7 @@ void MainWindow::setInitialUrl(const KUrl& _url)
void MainWindow::startSlideShow()
// We need to wait until we have listed all images in the dirlister to
// start the slideshow because the SlideShow objects needs an image list to
// work.
......@@ -1389,6 +1390,9 @@ void MainWindow::toggleSlideShow()
if (d->mSlideShow->isRunning()) {
} else {
if (!d->mViewAction->isChecked()) {
if (!d->mFullScreenAction->isChecked()) {
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment