author | leseb <leseb> | 2002-07-09 16:50:46 (UTC) |
---|---|---|
committer | leseb <leseb> | 2002-07-09 16:50:46 (UTC) |
commit | 5f549398401acc5591ffcb67459dbf55ea323b91 (patch) (side-by-side diff) | |
tree | d7c8846531a263acfb5bdafbae24fc7cfbbce170 | |
parent | 235f43313ac455b0240c5ab4d5a50f75f488edfd (diff) | |
download | opie-5f549398401acc5591ffcb67459dbf55ea323b91.zip opie-5f549398401acc5591ffcb67459dbf55ea323b91.tar.gz opie-5f549398401acc5591ffcb67459dbf55ea323b91.tar.bz2 |
Check for Ir support
-rw-r--r-- | core/pim/datebook/datebookday.cpp | 3 |
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 @@ -29,4 +29,5 @@ #include <qpe/timestring.h> #include <qpe/qpedebug.h> +#include <qpe/ir.h> #include <qheader.h> @@ -723,5 +724,5 @@ void DateBookDayWidget::mousePressEvent( QMouseEvent *e ) m.insertItem( tr( "Edit" ), 1 ); m.insertItem( tr( "Delete" ), 2 ); - m.insertItem( tr( "Beam" ), 3 ); + if(Ir::supported()) m.insertItem( tr( "Beam" ), 3 ); int r = m.exec( e->globalPos() ); if ( r == 1 ) { |