-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 | |||
316 | } | 316 | } |
317 | void OFileSelector::setPermissionChecked( bool check ) | 317 | void OFileSelector::setPermissionChecked( bool check ) |
318 | { | 318 | { |
319 | if( m_checkPerm == 0 ) | 319 | if( m_checkPerm == 0 ) |
320 | return; | 320 | return; |
321 | m_checkPerm->setChecked( check ); | 321 | m_checkPerm->setChecked( check ); |
322 | } | 322 | } |
323 | QString OFileSelector::selectedName( )const | 323 | 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 | } |
337 | QStringList OFileSelector::selectedNames()const | 337 | QStringList OFileSelector::selectedNames()const |
338 | { | 338 | { |
339 | QStringList list; | 339 | QStringList list; |
340 | return list; | 340 | return list; |
341 | } | 341 | } |
342 | DocLnk OFileSelector::selectedDocument( )const | 342 | DocLnk OFileSelector::selectedDocument( )const |
343 | { | 343 | { |
344 | DocLnk lnk; | 344 | DocLnk lnk; |
345 | return lnk; | 345 | return lnk; |
346 | } | 346 | } |
347 | void OFileSelector::updateLay() | 347 | void OFileSelector::updateLay() |
348 | { | 348 | { |