author | llornkcor <llornkcor> | 2002-11-16 03:59:23 (UTC) |
---|---|---|
committer | llornkcor <llornkcor> | 2002-11-16 03:59:23 (UTC) |
commit | b17b2274c200403da25a994ed9d8ba4856d725c0 (patch) (side-by-side diff) | |
tree | d3f64243b4f0a8b8ec6300ac33430633da9543a8 | |
parent | d3e670971b2b721eb2b484801cf1c6ecbf52d436 (diff) | |
download | opie-b17b2274c200403da25a994ed9d8ba4856d725c0.zip opie-b17b2274c200403da25a994ed9d8ba4856d725c0.tar.gz opie-b17b2274c200403da25a994ed9d8ba4856d725c0.tar.bz2 |
various changes, popupmenu at complete left.
-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 @@ -13,5 +13,5 @@ #include "advancedfm.h" - #include <opie/otabwidget.h> +#include <opie/otabwidget.h> // #include <opie/ofileselector.h> // #include <opie/ofiledialog.h> @@ -814,6 +814,6 @@ void AdvancedFm::showFileMenu() { m->insertItem( tr( "Beam File" ), this, SLOT( doBeam() )); 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 @@ -88,4 +88,5 @@ void AdvancedFm::init() { fileMenu->insertItem( tr( "Run Command with Output" ), this, SLOT( runCommand() )); fileMenu->insertSeparator(); + fileMenu->insertItem( tr( "Make Symlink" ), this, SLOT( mkSym() )); fileMenu->insertItem( tr( "Select All" ), this, SLOT( selectAll() )); fileMenu->insertItem( tr( "Add To Documents" ), this, SLOT( addToDocs() )); |