author | zecke <zecke> | 2002-04-17 17:22:50 (UTC) |
---|---|---|
committer | zecke <zecke> | 2002-04-17 17:22:50 (UTC) |
commit | b94bcfb586b838885d7d0503623ea36ee0054464 (patch) (side-by-side diff) | |
tree | da2f5fb0e422e38d6fae0ab8f8572b332e7da08b | |
parent | b382414bf0446b6facd11d35df5dc097edbd5396 (diff) | |
download | opie-b94bcfb586b838885d7d0503623ea36ee0054464.zip opie-b94bcfb586b838885d7d0503623ea36ee0054464.tar.gz opie-b94bcfb586b838885d7d0503623ea36ee0054464.tar.bz2 |
include the current directory in the filename
-rw-r--r-- | libopie/ofileselector.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libopie/ofileselector.cc b/libopie/ofileselector.cc index 968541a..ea19143 100644 --- a/libopie/ofileselector.cc +++ b/libopie/ofileselector.cc @@ -300,65 +300,65 @@ void OFileSelector::setCaseSensetive( bool caSe ) } void OFileSelector::setShowFiles(bool files ){ m_files = files; reparse(); } void OFileSelector::setPopupMenu(QPopupMenu *pop ) { //delete oldpopup; m_custom = pop; } bool OFileSelector::setPermission( ) const { if( m_checkPerm == 0 ) return false; else return m_checkPerm->isChecked(); } void OFileSelector::setPermissionChecked( bool check ) { if( m_checkPerm == 0 ) return; m_checkPerm->setChecked( check ); } QString OFileSelector::selectedName( )const { QString string; if( m_selector == NORMAL ){ const DocLnk *lnk = m_select->selected(); string = lnk->file(); }else if(m_selector == EXTENDED || m_selector == EXTENDED_ALL ) { QListViewItem *item = m_View->currentItem(); if(item != 0 ){ - string = item->text( 1 ); + string = m_currentDir + "/" + item->text( 1 ); } } return string; } QStringList OFileSelector::selectedNames()const { QStringList list; return list; } DocLnk OFileSelector::selectedDocument( )const { DocLnk lnk; return lnk; } void OFileSelector::updateLay() { /* if( m_shTool ) // else // hide */ // save the state bool check = false; if( m_checkPerm != 0 ) check = m_checkPerm->isChecked(); QString text; if( m_edit != 0 ) text = m_edit->text(); // save current mimetype delItems(); |