author | llornkcor <llornkcor> | 2003-12-20 21:29:39 (UTC) |
---|---|---|
committer | llornkcor <llornkcor> | 2003-12-20 21:29:39 (UTC) |
commit | 8e884631cc002011a9abab37be9223d4a1421ff2 (patch) (unidiff) | |
tree | bab42e2a2a305e95a37ce56d52960540240c3c04 | |
parent | c7bad76e8d576fc0b6999775c89c724c6fa89158 (diff) | |
download | opie-8e884631cc002011a9abab37be9223d4a1421ff2.zip opie-8e884631cc002011a9abab37be9223d4a1421ff2.tar.gz opie-8e884631cc002011a9abab37be9223d4a1421ff2.tar.bz2 |
fix popupmenu position on large screens
-rw-r--r-- | noncore/apps/advancedfm/advancedfm.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/noncore/apps/advancedfm/advancedfm.cpp b/noncore/apps/advancedfm/advancedfm.cpp index ecf471d..ac16540 100644 --- a/noncore/apps/advancedfm/advancedfm.cpp +++ b/noncore/apps/advancedfm/advancedfm.cpp | |||
@@ -606,13 +606,14 @@ void AdvancedFm::showFileMenu() { | |||
606 | else | 606 | else |
607 | m->setItemChecked(m->idAt(0),FALSE); | 607 | m->setItemChecked(m->idAt(0),FALSE); |
608 | 608 | ||
609 | if(Ir::supported()) | 609 | if(Ir::supported()) |
610 | m->insertItem( tr( "Beam File" ), this, SLOT( doBeam() )); | 610 | m->insertItem( tr( "Beam File" ), this, SLOT( doBeam() )); |
611 | m->setFocus(); | 611 | m->setFocus(); |
612 | m->exec( QPoint( 4,QCursor::pos().y()) ); | 612 | |
613 | m->exec( QPoint( QCursor::pos().x(), QCursor::pos().y()) ); | ||
613 | 614 | ||
614 | if(m) delete m; | 615 | if(m) delete m; |
615 | } | 616 | } |
616 | 617 | ||
617 | 618 | ||
618 | void AdvancedFm::cancelMenuTimer() { | 619 | void AdvancedFm::cancelMenuTimer() { |