author | llornkcor <llornkcor> | 2003-12-20 21:29:39 (UTC) |
---|---|---|
committer | llornkcor <llornkcor> | 2003-12-20 21:29:39 (UTC) |
commit | 8e884631cc002011a9abab37be9223d4a1421ff2 (patch) (side-by-side diff) | |
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 @@ -600,25 +600,26 @@ void AdvancedFm::showFileMenu() { #if defined(QT_QWS_OPIE) m->insertItem( tr( "Properties" ), this, SLOT( doProperties() )); #endif m->setCheckable(TRUE); if (!b) m->setItemChecked(m->idAt(0),TRUE); else m->setItemChecked(m->idAt(0),FALSE); if(Ir::supported()) m->insertItem( tr( "Beam File" ), this, SLOT( doBeam() )); m->setFocus(); - m->exec( QPoint( 4,QCursor::pos().y()) ); + + m->exec( QPoint( QCursor::pos().x(), QCursor::pos().y()) ); if(m) delete m; } void AdvancedFm::cancelMenuTimer() { if( menuTimer.isActive() ) menuTimer.stop(); } QString AdvancedFm::checkDiskSpace(const QString &path) { |