summaryrefslogtreecommitdiff
path: root/noncore/graphics/opie-eye/gui/iconview.cpp
Unidiff
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.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/noncore/graphics/opie-eye/gui/iconview.cpp b/noncore/graphics/opie-eye/gui/iconview.cpp
index 0499af9..a41ce9f 100644
--- a/noncore/graphics/opie-eye/gui/iconview.cpp
+++ b/noncore/graphics/opie-eye/gui/iconview.cpp
@@ -664,44 +664,43 @@ void PIconView::slotShowPrev()
664} 664}
665 665
666void PIconView::slotShowImage() 666void PIconView::slotShowImage()
667{ 667{
668 bool isDir = false; 668 bool isDir = false;
669 QString name = currentFileName(isDir); 669 QString name = currentFileName(isDir);
670 if (isDir) return; 670 if (isDir) return;
671 slotShowImage( name ); 671 slotShowImage( name );
672} 672}
673void PIconView::slotShowImage( const QString& name) { 673void PIconView::slotShowImage( const QString& name) {
674 PDirLister *lister = currentView()->dirLister(); 674 PDirLister *lister = currentView()->dirLister();
675 QString r_name = lister->nameToFname(name); 675 QString r_name = lister->nameToFname(name);
676 emit sig_display( r_name ); 676 emit sig_display(r_name);
677} 677}
678 678
679void PIconView::slotStartSlide() { 679void 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 emit sig_startslide(2);
689} 689}
690 690
691void PIconView::slotImageInfo() { 691void PIconView::slotImageInfo() {
692 bool isDir = false; 692 bool isDir = false;
693 QString name = currentFileName(isDir); 693 QString name = currentFileName(isDir);
694 if (isDir) return; 694 if (isDir) return;
695
696 slotImageInfo( name ); 695 slotImageInfo( name );
697} 696}
698 697
699void PIconView::slotImageInfo( const QString& name) { 698void PIconView::slotImageInfo( const QString& name) {
700 PDirLister *lister = currentView()->dirLister(); 699 PDirLister *lister = currentView()->dirLister();
701 QString r_name = lister->nameToFname(name); 700 QString r_name = lister->nameToFname(name);
702 emit sig_showInfo(r_name ); 701 emit sig_showInfo(r_name );
703} 702}
704 703
705 704
706void PIconView::slotChangeMode( int mode ) { 705void PIconView::slotChangeMode( int mode ) {
707 if ( mode >= 1 && mode <= 3 ) 706 if ( mode >= 1 && mode <= 3 )