]> git.sesse.net Git - kdenlive/blobdiff - src/unicodedialog.cpp
SVN_SILENT made messages (.desktop file)
[kdenlive] / src / unicodedialog.cpp
index b721cb590bce243a987c2225a97a3c5e113bc474..9d3c0cd9de430f497183be43263d49886af62270 100644 (file)
@@ -9,6 +9,8 @@
 
 #include "unicodedialog.h"
 
+#include <QWheelEvent>
+
 /// CONSTANTS
 
 const int MAX_LENGTH_HEX = 4;
@@ -169,7 +171,7 @@ QString UnicodeDialog::unicodeInfo(QString unicode)
     } else if (u == "266c") {
         infoText = i18n("Sixteenth note (Am.) or semiquaver (Brit.). Half as long as an eighth note (U+266a). See <a href=\"http://en.wikipedia.org/wiki/Sixteenth_note\">Wikipedia:Sixteenth_note</a>");
     } else if (u == "1D162") {
-        infoText = i18n("Thirty-second note (Am.) or demisemiquaver (Brit.). Half as long as a sixteenth note (U+266b). See <a href=\"http://en.wikipedia.org/wiki/Quarter_note\">Wikipedia:Thirty-second_note</a>");
+        infoText = i18n("Thirty-second note (Am.) or demisemiquaver (Brit.). Half as long as a sixteenth note (U+266b). See <a href=\"http://en.wikipedia.org/wiki/Thirty-second_note\">Wikipedia:Thirty-second_note</a>");
     } else {
         infoText = i18n("<small>No additional information available for this character.</small>");
     }
@@ -366,4 +368,12 @@ void UnicodeDialog::slotPrevUnicode()
     unicodeNumber->setText(nextUnicode(text, Backward));
 }
 
+void UnicodeDialog::wheelEvent(QWheelEvent * event)
+{
+    if (frame->underMouse()) {
+        if (event->delta() > 0) slotNextUnicode();
+        else slotPrevUnicode();
+    }
+}
+
 #include "unicodedialog.moc"