Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
SDK
Lokalize
Commits
30d66981
Commit
30d66981
authored
Sep 01, 2020
by
Laurent Montel
😁
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Port away from deprecated Qt::MidButton
parent
4d188729
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
src/tm/tmtab.cpp
src/tm/tmtab.cpp
+1
-1
No files found.
src/tm/tmtab.cpp
View file @
30d66981
...
@@ -695,7 +695,7 @@ bool QueryResultDelegate::editorEvent(QEvent* event,
...
@@ -695,7 +695,7 @@ bool QueryResultDelegate::editorEvent(QEvent* event,
}
}
} else if (event->type() == QEvent::MouseButtonRelease) {
} else if (event->type() == QEvent::MouseButtonRelease) {
QMouseEvent* mEvent = static_cast<QMouseEvent*>(event);
QMouseEvent* mEvent = static_cast<QMouseEvent*>(event);
if (mEvent->button() == Qt::MidButton) {
if (mEvent->button() == Qt::Mid
dle
Button) {
}
}
} else if (event->type() == QEvent::KeyPress) {
} else if (event->type() == QEvent::KeyPress) {
QKeyEvent* kEvent = static_cast<QKeyEvent*>(event);
QKeyEvent* kEvent = static_cast<QKeyEvent*>(event);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment