mirror of
https://anongit.gentoo.org/git/repo/gentoo.git
synced 2025-12-19 16:38:01 +00:00
Closes: https://bugs.gentoo.org/966700 Bug: https://bugs.gentoo.org/729436 Signed-off-by: Sam James <sam@gentoo.org>
30 lines
1.5 KiB
Diff
30 lines
1.5 KiB
Diff
https://bugs.gentoo.org/966700
|
|
--- a/editors/sc-ide/widgets/code_editor/editor.cpp
|
|
+++ b/editors/sc-ide/widgets/code_editor/editor.cpp
|
|
@@ -698,7 +698,7 @@ void GenericCodeEditor::mousePressEvent(QMouseEvent* e) {
|
|
.arg(e->position().x())
|
|
.arg(e->position().y())
|
|
#endif
|
|
- .arg(e->modifiers())
|
|
+ .arg(static_cast<int>(e->modifiers()))
|
|
.arg(button),
|
|
true);
|
|
}
|
|
@@ -732,7 +732,7 @@ void GenericCodeEditor::mouseDoubleClickEvent(QMouseEvent* e) {
|
|
.arg(e->position().x())
|
|
.arg(e->position().y())
|
|
#endif
|
|
- .arg(e->modifiers())
|
|
+ .arg(static_cast<int>(e->modifiers()))
|
|
.arg(button),
|
|
true);
|
|
}
|
|
@@ -766,7 +766,7 @@ void GenericCodeEditor::mouseReleaseEvent(QMouseEvent* e) {
|
|
.arg(e->position().x())
|
|
.arg(e->position().y())
|
|
#endif
|
|
- .arg(e->modifiers())
|
|
+ .arg(static_cast<int>(e->modifiers()))
|
|
.arg(button),
|
|
true);
|
|
}
|