author | zecke <zecke> | 2002-04-27 23:12:20 (UTC) |
---|---|---|
committer | zecke <zecke> | 2002-04-27 23:12:20 (UTC) |
commit | a64cc0ad0574ae1e15c4965d2557c3e06cc3fd65 (patch) (side-by-side diff) | |
tree | 80a622e1e82e46a24dc5968b7b89180d4420476c /libopie/ofileselector.cc | |
parent | db95cde435e507833f58111237f86cb9f9ac927a (diff) | |
download | opie-a64cc0ad0574ae1e15c4965d2557c3e06cc3fd65.zip opie-a64cc0ad0574ae1e15c4965d2557c3e06cc3fd65.tar.gz opie-a64cc0ad0574ae1e15c4965d2557c3e06cc3fd65.tar.bz2 |
compile it for Max
-rw-r--r-- | libopie/ofileselector.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libopie/ofileselector.cc b/libopie/ofileselector.cc index 0e508af..9cf3f36 100644 --- a/libopie/ofileselector.cc +++ b/libopie/ofileselector.cc @@ -878,33 +878,33 @@ void OFileSelector::addFile(const QString &mime, QFileInfo *info, bool symlink ) locked = true; pix = Resource::loadPixmap("locked" ); } }else if( m_mode == SAVE ){ if( !info->isWritable() ){ locked = true; pix = Resource::loadPixmap("locked" ); } } } new OFileSelectorItem( m_View, pix, name, info->lastModified().toString(), QString::number( info->size() ), dir, locked ); } -void OFileSelector::addDir(const QString &mime, QFileInfo *info, bool symlink ) +void OFileSelector::addDir(const QString &/*mime*/, QFileInfo *info, bool symlink ) { if(!m_dir ) return; //if( showDirs ) { bool locked=false; QString name; QPixmap pix; if( ( m_mode == OPEN && !info->isReadable() ) || ( m_mode == SAVE && !info->isWritable() ) ){ locked = true; if( symlink ){ pix = (*m_pixmaps)["symlinkedlocked"]; }else{ pix = Resource::loadPixmap("lockedfolder" ); } }else{ @@ -964,33 +964,33 @@ void OFileSelector::slotCurrentChanged(QListViewItem *item ) if( m_selector == EXTENDED || m_selector == EXTENDED_ALL ){ OFileSelectorItem *sel = (OFileSelectorItem*)item; if(!sel->isDir() ){ // qWarning("is not dir" ); if(m_shLne ){ m_edit->setText(sel->text(1) ); // qWarning("setTexy" ); } } }else { qWarning("mode not extended" ); } } // either select or change dir -void OFileSelector::slotClicked( int button, QListViewItem *item, const QPoint &point, int ) +void OFileSelector::slotClicked( int button, QListViewItem *item, const QPoint &/*point*/, int ) { if( item == 0 ) return; if( button != Qt::LeftButton ) return; // qWarning("clicked" ); if(m_selector == EXTENDED || m_selector == EXTENDED_ALL ){ // qWarning("inside" ); OFileSelectorItem *sel = (OFileSelectorItem*)item; if(!sel->isLocked() ){ // not locked either changedir or open QStringList str = QStringList::split("->", sel->text(1) ); if(sel->isDir() ){ cd( sel->directory() + "/" + str[0] ); } else { |