summaryrefslogtreecommitdiff
Unidiff
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/apps/advancedfm/advancedfm.cpp3
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() {
600#if defined(QT_QWS_OPIE) 600#if defined(QT_QWS_OPIE)
601 m->insertItem( tr( "Properties" ), this, SLOT( doProperties() )); 601 m->insertItem( tr( "Properties" ), this, SLOT( doProperties() ));
602#endif 602#endif
603 m->setCheckable(TRUE); 603 m->setCheckable(TRUE);
604 if (!b) 604 if (!b)
605 m->setItemChecked(m->idAt(0),TRUE); 605 m->setItemChecked(m->idAt(0),TRUE);
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
618void AdvancedFm::cancelMenuTimer() { 619void AdvancedFm::cancelMenuTimer() {
619 620
620 if( menuTimer.isActive() ) 621 if( menuTimer.isActive() )
621 menuTimer.stop(); 622 menuTimer.stop();
622} 623}
623 624
624QString AdvancedFm::checkDiskSpace(const QString &path) { 625QString AdvancedFm::checkDiskSpace(const QString &path) {