summaryrefslogtreecommitdiff
Unidiff
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--core/pim/datebook/datebookday.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/core/pim/datebook/datebookday.cpp b/core/pim/datebook/datebookday.cpp
index 5474cfc..325b902 100644
--- a/core/pim/datebook/datebookday.cpp
+++ b/core/pim/datebook/datebookday.cpp
@@ -28,6 +28,7 @@
28#include <qpe/qpeapplication.h> 28#include <qpe/qpeapplication.h>
29#include <qpe/timestring.h> 29#include <qpe/timestring.h>
30#include <qpe/qpedebug.h> 30#include <qpe/qpedebug.h>
31#include <qpe/ir.h>
31 32
32#include <qheader.h> 33#include <qheader.h>
33#include <qdatetime.h> 34#include <qdatetime.h>
@@ -722,7 +723,7 @@ void DateBookDayWidget::mousePressEvent( QMouseEvent *e )
722 QPopupMenu m; 723 QPopupMenu m;
723 m.insertItem( tr( "Edit" ), 1 ); 724 m.insertItem( tr( "Edit" ), 1 );
724 m.insertItem( tr( "Delete" ), 2 ); 725 m.insertItem( tr( "Delete" ), 2 );
725 m.insertItem( tr( "Beam" ), 3 ); 726 if(Ir::supported()) m.insertItem( tr( "Beam" ), 3 );
726 int r = m.exec( e->globalPos() ); 727 int r = m.exec( e->globalPos() );
727 if ( r == 1 ) { 728 if ( r == 1 ) {
728 emit editMe( ev.event() ); 729 emit editMe( ev.event() );