-rw-r--r-- | libopie2/opieui/fileselector/ofileselector.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libopie2/opieui/fileselector/ofileselector.cpp b/libopie2/opieui/fileselector/ofileselector.cpp index 1f6ca05..5528aed 100644 --- a/libopie2/opieui/fileselector/ofileselector.cpp +++ b/libopie2/opieui/fileselector/ofileselector.cpp | |||
@@ -542,17 +542,17 @@ void OFileViewFileListView::slotCurrentChanged( QListViewItem* item) | |||
542 | OFileSelectorItem *sel = static_cast<OFileSelectorItem*>(item); | 542 | OFileSelectorItem *sel = static_cast<OFileSelectorItem*>(item); |
543 | 543 | ||
544 | if (!sel->isDir() ) | 544 | if (!sel->isDir() ) |
545 | { | 545 | { |
546 | selector()->m_lneEdit->setText( sel->text(1) ); | 546 | selector()->m_lneEdit->setText( sel->text(1) ); |
547 | // if in fileselector mode we will emit selected | 547 | // if in fileselector mode we will emit selected |
548 | if ( selector()->mode() == OFileSelector::FileSelector ) | 548 | if ( selector()->mode() == OFileSelector::FileSelector ) |
549 | { | 549 | { |
550 | owarn << "slot Current Changed" << oendl; | 550 | odebug << "slot Current Changed" << oendl; |
551 | QStringList str = QStringList::split("->", sel->text(1) ); | 551 | QStringList str = QStringList::split("->", sel->text(1) ); |
552 | QString path = sel->directory() + "/" + str[0].stripWhiteSpace(); | 552 | QString path = sel->directory() + "/" + str[0].stripWhiteSpace(); |
553 | emit selector()->fileSelected( path ); | 553 | emit selector()->fileSelected( path ); |
554 | DocLnk lnk( path ); | 554 | DocLnk lnk( path ); |
555 | emit selector()->fileSelected( lnk ); | 555 | emit selector()->fileSelected( lnk ); |
556 | } | 556 | } |
557 | } | 557 | } |
558 | #endif | 558 | #endif |
@@ -570,17 +570,17 @@ void OFileViewFileListView::slotClicked(int button , QListViewItem* item, const | |||
570 | if (sel->isDir() ) | 570 | if (sel->isDir() ) |
571 | { | 571 | { |
572 | m_currentDir = sel->directory() + "/" + str[0].stripWhiteSpace(); | 572 | m_currentDir = sel->directory() + "/" + str[0].stripWhiteSpace(); |
573 | emit selector()->dirSelected( m_currentDir ); | 573 | emit selector()->dirSelected( m_currentDir ); |
574 | reread( m_all ); | 574 | reread( m_all ); |
575 | } | 575 | } |
576 | else | 576 | else |
577 | { // file | 577 | { // file |
578 | owarn << "slot Clicked" << oendl; | 578 | odebug << "slot Clicked" << oendl; |
579 | selector()->m_lneEdit->setText( str[0].stripWhiteSpace() ); | 579 | selector()->m_lneEdit->setText( str[0].stripWhiteSpace() ); |
580 | QString path = sel->directory() + "/" + str[0].stripWhiteSpace(); | 580 | QString path = sel->directory() + "/" + str[0].stripWhiteSpace(); |
581 | emit selector()->fileSelected( path ); | 581 | emit selector()->fileSelected( path ); |
582 | DocLnk lnk( path ); | 582 | DocLnk lnk( path ); |
583 | emit selector()->fileSelected( lnk ); | 583 | emit selector()->fileSelected( lnk ); |
584 | } | 584 | } |
585 | } // not locked | 585 | } // not locked |
586 | } | 586 | } |