summaryrefslogtreecommitdiff
path: root/noncore/apps/advancedfm/advancedfmMenu.cpp
Unidiff
Diffstat (limited to 'noncore/apps/advancedfm/advancedfmMenu.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/apps/advancedfm/advancedfmMenu.cpp10
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
@@ -340,27 +340,33 @@ void AdvancedFm::filePerms() {
340 } else { 340 } else {
341 populateRemoteView(); 341 populateRemoteView();
342 } 342 }
343} 343}
344 344
345void AdvancedFm::doProperties() { 345void 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
363void AdvancedFm::upDir() { 369void 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);