summaryrefslogtreecommitdiff
blob: c35f6ae75fde59659e7aaca83d72c368067cb80a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
commit de72ff88d7b5f69bacfbe556a5175b311657bc49
Author: Raymond Wooninck <tittiatcoke@gmail.com>
Date:   Tue Jan 24 22:07:59 2017 +0100

    And more of the same

diff --git a/AnnotationDialog/DescriptionEdit.cpp b/AnnotationDialog/DescriptionEdit.cpp
index 17d12533..dd746fa2 100644
--- a/AnnotationDialog/DescriptionEdit.cpp
+++ b/AnnotationDialog/DescriptionEdit.cpp
@@ -28,7 +28,7 @@ AnnotationDialog::DescriptionEdit::~DescriptionEdit()
 
 void AnnotationDialog::DescriptionEdit::keyPressEvent(QKeyEvent *event)
 {
-    if (event->key() == Qt::Key_PageUp or event->key() == Qt::Key_PageDown) {
+    if (event->key() == Qt::Key_PageUp || event->key() == Qt::Key_PageDown) {
         emit pageUpDownPressed(event);
     } else {
         QTextEdit::keyPressEvent(event);