summaryrefslogtreecommitdiff
path: root/sysutils/synergy/files/patch-src_gui_src_KeySequence.h
blob: e99c1804ff517936be2b422249f5ae53bf6c4c1c (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
Fix build with Qt >= 6.9.0

Backported from: https://github.com/symless/synergy/commit/f48514f57297112f8e1757c11b303dcedbb51644

--- src/gui/src/KeySequence.h.orig	2024-08-30 21:23:08 UTC
+++ src/gui/src/KeySequence.h
@@ -52,6 +52,10 @@ class KeySequence { (private)
   int m_Modifiers;
   bool m_IsValid;
 
+  inline static const int kStrSize = 4;
+  inline static const int kBase = 16;
+  inline static const QChar kFillChar = QChar('0');
+
   static QString keyToString(int key);
 };