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
@@ -308,49 +308,49 @@ void OFileSelector::setPopupMenu(QPopupMenu *pop )
308 m_custom = pop; 308 m_custom = pop;
309} 309}
310bool OFileSelector::setPermission( ) const 310bool OFileSelector::setPermission( ) const
311{ 311{
312 if( m_checkPerm == 0 ) 312 if( m_checkPerm == 0 )
313 return false; 313 return false;
314 else 314 else
315 return m_checkPerm->isChecked(); 315 return m_checkPerm->isChecked();
316} 316}
317void OFileSelector::setPermissionChecked( bool check ) 317void 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}
323QString OFileSelector::selectedName( )const 323QString 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;
341} 341}
342DocLnk OFileSelector::selectedDocument( )const 342DocLnk OFileSelector::selectedDocument( )const
343{ 343{
344 DocLnk lnk; 344 DocLnk lnk;
345 return lnk; 345 return lnk;
346} 346}
347void OFileSelector::updateLay() 347void OFileSelector::updateLay()
348{ 348{
349 /* if( m_shTool ) 349 /* if( m_shTool )
350 // 350 //
351 else 351 else
352 // hide 352 // hide
353 */ 353 */
354 // save the state 354 // save the state
355 bool check = false; 355 bool check = false;
356 if( m_checkPerm != 0 ) 356 if( m_checkPerm != 0 )