summaryrefslogtreecommitdiff
Unidiff
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--libopie2/examples/opiecore/onotifydemo/onotifydemo.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/libopie2/examples/opiecore/onotifydemo/onotifydemo.cpp b/libopie2/examples/opiecore/onotifydemo/onotifydemo.cpp
index 74a8158..b9ff9db 100644
--- a/libopie2/examples/opiecore/onotifydemo/onotifydemo.cpp
+++ b/libopie2/examples/opiecore/onotifydemo/onotifydemo.cpp
@@ -96,17 +96,17 @@ public:
96 } 96 }
97 else 97 else
98 { 98 {
99 odebug << "cancelled." << oendl; 99 odebug << "cancelled." << oendl;
100 } 100 }
101 } 101 }
102 102
103public slots: 103public slots:
104 void modifierClicked( int modifier ) { (int)m ^= modifier; }; 104 void modifierClicked( int modifier ) { m = static_cast<OFileNotificationType>( (int)m ^ int(modifier) ); };
105 void addSingle() { addTrigger(); }; 105 void addSingle() { addTrigger(); };
106 void addMulti() { addTrigger( true ); }; 106 void addMulti() { addTrigger( true ); };
107 107
108 void delTrigger() 108 void delTrigger()
109 { 109 {
110 QListViewItem* item = l->selectedItem(); 110 QListViewItem* item = l->selectedItem();
111 if ( !item ) 111 if ( !item )
112 { 112 {