summaryrefslogtreecommitdiff
path: root/libopie2
authormickeyl <mickeyl>2004-07-18 15:07:08 (UTC)
committer mickeyl <mickeyl>2004-07-18 15:07:08 (UTC)
commit63c1d7b2cb5abfcfa518363caf9e9c24dbb906dc (patch) (side-by-side diff)
treeed9c37e249a132229f5f90500478189c0fa69d1e /libopie2
parent35625ac739a9e070ceff4714328a91bb00b1f8a9 (diff)
downloadopie-63c1d7b2cb5abfcfa518363caf9e9c24dbb906dc.zip
opie-63c1d7b2cb5abfcfa518363caf9e9c24dbb906dc.tar.gz
opie-63c1d7b2cb5abfcfa518363caf9e9c24dbb906dc.tar.bz2
no need to warn here. debug seems enough
Diffstat (limited to 'libopie2') (more/less context) (ignore whitespace changes)
-rw-r--r--libopie2/opieui/fileselector/ofileselector.cpp4
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
@@ -538,25 +538,25 @@ 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 )
{
@@ -566,25 +566,25 @@ void OFileViewFileListView::slotClicked(int button , QListViewItem* item, const
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() );