summaryrefslogtreecommitdiff
authorzecke <zecke>2002-04-17 17:22:50 (UTC)
committer zecke <zecke>2002-04-17 17:22:50 (UTC)
commitb94bcfb586b838885d7d0503623ea36ee0054464 (patch) (side-by-side diff)
treeda2f5fb0e422e38d6fae0ab8f8572b332e7da08b
parentb382414bf0446b6facd11d35df5dc097edbd5396 (diff)
downloadopie-b94bcfb586b838885d7d0503623ea36ee0054464.zip
opie-b94bcfb586b838885d7d0503623ea36ee0054464.tar.gz
opie-b94bcfb586b838885d7d0503623ea36ee0054464.tar.bz2
include the current directory in the filename
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--libopie/ofileselector.cc2
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()
{