-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 @@ -316,33 +316,33 @@ bool OFileSelector::setPermission( ) const } 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() { |