Diffstat (limited to 'noncore/graphics/opie-eye/gui/iconview.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/graphics/opie-eye/gui/iconview.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/noncore/graphics/opie-eye/gui/iconview.cpp b/noncore/graphics/opie-eye/gui/iconview.cpp index a41ce9f..7c8c88d 100644 --- a/noncore/graphics/opie-eye/gui/iconview.cpp +++ b/noncore/graphics/opie-eye/gui/iconview.cpp | |||
@@ -676,25 +676,26 @@ void PIconView::slotShowImage( const QString& name) { | |||
676 | emit sig_display(r_name); | 676 | emit sig_display(r_name); |
677 | } | 677 | } |
678 | 678 | ||
679 | void PIconView::slotStartSlide() { | 679 | void PIconView::slotStartSlide() { |
680 | bool isDir = false; | 680 | bool isDir = false; |
681 | QString name = currentFileName(isDir); | 681 | QString name = currentFileName(isDir); |
682 | if (isDir) { | 682 | if (isDir) { |
683 | if (!slotShowFirst()) | 683 | if (!slotShowFirst()) |
684 | return; | 684 | return; |
685 | } else { | 685 | } else { |
686 | slotShowImage( name ); | 686 | slotShowImage( name ); |
687 | } | 687 | } |
688 | emit sig_startslide(2); | 688 | int t = m_cfg->readNumEntry("base_slideshowtimeout", 2); |
689 | emit sig_startslide(t); | ||
689 | } | 690 | } |
690 | 691 | ||
691 | void PIconView::slotImageInfo() { | 692 | void PIconView::slotImageInfo() { |
692 | bool isDir = false; | 693 | bool isDir = false; |
693 | QString name = currentFileName(isDir); | 694 | QString name = currentFileName(isDir); |
694 | if (isDir) return; | 695 | if (isDir) return; |
695 | slotImageInfo( name ); | 696 | slotImageInfo( name ); |
696 | } | 697 | } |
697 | 698 | ||
698 | void PIconView::slotImageInfo( const QString& name) { | 699 | void PIconView::slotImageInfo( const QString& name) { |
699 | PDirLister *lister = currentView()->dirLister(); | 700 | PDirLister *lister = currentView()->dirLister(); |
700 | QString r_name = lister->nameToFname(name); | 701 | QString r_name = lister->nameToFname(name); |