author | mickeyl <mickeyl> | 2004-07-18 15:07:08 (UTC) |
---|---|---|
committer | mickeyl <mickeyl> | 2004-07-18 15:07:08 (UTC) |
commit | 63c1d7b2cb5abfcfa518363caf9e9c24dbb906dc (patch) (side-by-side diff) | |
tree | ed9c37e249a132229f5f90500478189c0fa69d1e | |
parent | 35625ac739a9e070ceff4714328a91bb00b1f8a9 (diff) | |
download | opie-63c1d7b2cb5abfcfa518363caf9e9c24dbb906dc.zip opie-63c1d7b2cb5abfcfa518363caf9e9c24dbb906dc.tar.gz opie-63c1d7b2cb5abfcfa518363caf9e9c24dbb906dc.tar.bz2 |
no need to warn here. debug seems enough
-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 @@ -534,61 +534,61 @@ void OFileViewFileListView::connectSlots() } void OFileViewFileListView::slotCurrentChanged( QListViewItem* item) { if (!item) return; #if 0 OFileSelectorItem *sel = static_cast<OFileSelectorItem*>(item); if (!sel->isDir() ) { selector()->m_lneEdit->setText( sel->text(1) ); // if in fileselector mode we will emit selected if ( selector()->mode() == OFileSelector::FileSelector ) { - owarn << "slot Current Changed" << oendl; + odebug << "slot Current Changed" << oendl; QStringList str = QStringList::split("->", sel->text(1) ); QString path = sel->directory() + "/" + str[0].stripWhiteSpace(); emit selector()->fileSelected( path ); DocLnk lnk( path ); emit selector()->fileSelected( lnk ); } } #endif } void OFileViewFileListView::slotClicked(int button , QListViewItem* item, const QPoint&, int ) { if (!item || ( button != Qt::LeftButton) ) return; OFileSelectorItem *sel = static_cast<OFileSelectorItem*>(item); if (!sel->isLocked() ) { QStringList str = QStringList::split("->", sel->text(1) ); if (sel->isDir() ) { m_currentDir = sel->directory() + "/" + str[0].stripWhiteSpace(); emit selector()->dirSelected( m_currentDir ); reread( m_all ); } else { // file - owarn << "slot Clicked" << oendl; + odebug << "slot Clicked" << oendl; selector()->m_lneEdit->setText( str[0].stripWhiteSpace() ); QString path = sel->directory() + "/" + str[0].stripWhiteSpace(); emit selector()->fileSelected( path ); DocLnk lnk( path ); emit selector()->fileSelected( lnk ); } } // not locked } void OFileViewFileListView::addFile( QFileInfo* info, bool symlink ) { MimeType type( info->absFilePath() ); if (!compliesMime( type.id() ) ) return; QPixmap pix = type.pixmap(); |