-rw-r--r-- | noncore/apps/advancedfm/advancedfm.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/noncore/apps/advancedfm/advancedfm.cpp b/noncore/apps/advancedfm/advancedfm.cpp index b9e254e..18952c3 100644 --- a/noncore/apps/advancedfm/advancedfm.cpp +++ b/noncore/apps/advancedfm/advancedfm.cpp @@ -686,2 +686,3 @@ void AdvancedFm::showLocalMenu(QListViewItem * item) m.insertItem( tr( "Set Permissions" ), this, SLOT( filePerms() )); + if( QFile(QPEApplication::qpeDir()+"lib/libopie.so").exists() ) //bad hack for Sharp zaurus failings m.insertItem( tr( "Properties" ), this, SLOT( doProperties() )); @@ -722,2 +723,3 @@ void AdvancedFm::showRemoteMenu(QListViewItem * item) m.insertItem( tr( "Set Permissions" ), this, SLOT( filePerms() )); + if( QFile(QPEApplication::qpeDir()+"lib/libopie.so").exists() ) //bad hack for Sharp zaurus failings m.insertItem( tr( "Properties" ), this, SLOT( doProperties() )); @@ -1058,2 +1060,3 @@ void AdvancedFm::doProperties() { if (TabWidget->currentPageIndex() == 0) { + filePath = currentDir.canonicalPath()+"/"; @@ -1062,3 +1065,5 @@ void AdvancedFm::doProperties() { } + // qDebug("%d",curFileList.count()); for ( QStringList::Iterator it = curFileList.begin(); it != curFileList.end(); ++it ) { + qDebug((filePath+*it)); DocLnk lnk( (filePath+*it)); |