Diffstat (limited to 'noncore/apps/advancedfm/advancedfmMenu.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/apps/advancedfm/advancedfmMenu.cpp | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/noncore/apps/advancedfm/advancedfmMenu.cpp b/noncore/apps/advancedfm/advancedfmMenu.cpp index 7ee5065..6d37904 100644 --- a/noncore/apps/advancedfm/advancedfmMenu.cpp +++ b/noncore/apps/advancedfm/advancedfmMenu.cpp | |||
@@ -334,39 +334,45 @@ void AdvancedFm::filePerms() { | |||
334 | filePerm->exec(); | 334 | filePerm->exec(); |
335 | if( filePerm) | 335 | if( filePerm) |
336 | delete filePerm; | 336 | delete filePerm; |
337 | } | 337 | } |
338 | if (TabWidget->currentPageIndex() == 0) { | 338 | if (TabWidget->currentPageIndex() == 0) { |
339 | populateLocalView(); | 339 | populateLocalView(); |
340 | } else { | 340 | } else { |
341 | populateRemoteView(); | 341 | populateRemoteView(); |
342 | } | 342 | } |
343 | } | 343 | } |
344 | 344 | ||
345 | void AdvancedFm::doProperties() { | 345 | void AdvancedFm::doProperties() { |
346 | #if defined(QT_QWS_OPIE) | ||
347 | |||
346 | QStringList curFileList = getPath(); | 348 | QStringList curFileList = getPath(); |
349 | |||
347 | QString filePath; | 350 | QString filePath; |
348 | if (TabWidget->currentPageIndex() == 0) { | 351 | if (TabWidget->currentPageIndex() == 0) { |
349 | filePath = currentDir.canonicalPath()+"/"; | 352 | filePath = currentDir.canonicalPath()+"/"; |
350 | } else { | 353 | } else { |
351 | filePath= currentRemoteDir.canonicalPath()+"/"; | 354 | filePath= currentRemoteDir.canonicalPath()+"/"; |
352 | } | 355 | } |
353 | // qDebug("%d",curFileList.count()); | 356 | qDebug("%d",curFileList.count()); |
354 | for ( QStringList::Iterator it = curFileList.begin(); it != curFileList.end(); ++it ) { | 357 | |
358 | for ( QStringList::Iterator it = curFileList.begin(); it != curFileList.end(); ++it ) { | ||
355 | qDebug((filePath+*it)); | 359 | qDebug((filePath+*it)); |
356 | DocLnk lnk( (filePath+*it)); | 360 | DocLnk lnk( (filePath+*it)); |
357 | LnkProperties prop( &lnk ); | 361 | LnkProperties prop( &lnk ); |
358 | prop.showMaximized(); | 362 | prop.showMaximized(); |
359 | prop.exec(); | 363 | prop.exec(); |
360 | } | 364 | } |
365 | #endif | ||
366 | |||
361 | } | 367 | } |
362 | 368 | ||
363 | void AdvancedFm::upDir() { | 369 | void AdvancedFm::upDir() { |
364 | if (TabWidget->currentPageIndex() == 0) { | 370 | if (TabWidget->currentPageIndex() == 0) { |
365 | QString current = currentDir.canonicalPath(); | 371 | QString current = currentDir.canonicalPath(); |
366 | QDir dir(current); | 372 | QDir dir(current); |
367 | dir.cdUp(); | 373 | dir.cdUp(); |
368 | current = dir.canonicalPath(); | 374 | current = dir.canonicalPath(); |
369 | chdir( current.latin1() ); | 375 | chdir( current.latin1() ); |
370 | currentDir.cd( current, TRUE); | 376 | currentDir.cd( current, TRUE); |
371 | populateLocalView(); | 377 | populateLocalView(); |
372 | update(); | 378 | update(); |