-rw-r--r-- | noncore/apps/advancedfm/advancedfm.cpp | 6 | ||||
-rw-r--r-- | noncore/apps/advancedfm/advancedfmData.cpp | 1 |
2 files changed, 4 insertions, 3 deletions
diff --git a/noncore/apps/advancedfm/advancedfm.cpp b/noncore/apps/advancedfm/advancedfm.cpp index 08dc24e..23244a2 100644 --- a/noncore/apps/advancedfm/advancedfm.cpp +++ b/noncore/apps/advancedfm/advancedfm.cpp @@ -14,3 +14,3 @@ - #include <opie/otabwidget.h> +#include <opie/otabwidget.h> // #include <opie/ofileselector.h> @@ -815,4 +815,4 @@ void AdvancedFm::showFileMenu() { m->setFocus(); - m->exec( QCursor::pos() ); - sleep(1); + m->exec( QPoint( 4,QCursor::pos().y()) ); + if(m) delete m; diff --git a/noncore/apps/advancedfm/advancedfmData.cpp b/noncore/apps/advancedfm/advancedfmData.cpp index f0a0a35..0966f02 100644 --- a/noncore/apps/advancedfm/advancedfmData.cpp +++ b/noncore/apps/advancedfm/advancedfmData.cpp @@ -89,2 +89,3 @@ void AdvancedFm::init() { fileMenu->insertSeparator(); + fileMenu->insertItem( tr( "Make Symlink" ), this, SLOT( mkSym() )); fileMenu->insertItem( tr( "Select All" ), this, SLOT( selectAll() )); |