summaryrefslogtreecommitdiff
Unidiff
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
@@ -324,17 +324,17 @@ QString OFileSelector::selectedName( )const
324{ 324{
325 QString string; 325 QString string;
326 if( m_selector == NORMAL ){ 326 if( m_selector == NORMAL ){
327 const DocLnk *lnk = m_select->selected(); 327 const DocLnk *lnk = m_select->selected();
328 string = lnk->file(); 328 string = lnk->file();
329 }else if(m_selector == EXTENDED || m_selector == EXTENDED_ALL ) { 329 }else if(m_selector == EXTENDED || m_selector == EXTENDED_ALL ) {
330 QListViewItem *item = m_View->currentItem(); 330 QListViewItem *item = m_View->currentItem();
331 if(item != 0 ){ 331 if(item != 0 ){
332 string = item->text( 1 ); 332 string = m_currentDir + "/" + item->text( 1 );
333 } 333 }
334 } 334 }
335 return string; 335 return string;
336} 336}
337QStringList OFileSelector::selectedNames()const 337QStringList OFileSelector::selectedNames()const
338{ 338{
339 QStringList list; 339 QStringList list;
340 return list; 340 return list;