Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Graphics
KolourPaint
Commits
b7708ae4
Commit
b7708ae4
authored
Aug 07, 2022
by
Martin Koller
Browse files
Avoid closing the color toolbar also via (e.g. Alt-F4) shortcut
BUG: 456919
parent
4207fd4c
Pipeline
#214139
passed with stage
in 2 minutes and 27 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
widgets/toolbars/kpColorToolBar.h
View file @
b7708ae4
...
...
@@ -32,7 +32,7 @@
#include
<QDockWidget>
#include
<QFrame>
#include
<Q
Widge
t>
#include
<Q
CloseEven
t>
#include
"imagelib/kpColor.h"
...
...
@@ -111,6 +111,8 @@ protected:
void
dragEnterEvent
(
QDragEnterEvent
*
e
)
override
;
void
dragMoveEvent
(
QDragMoveEvent
*
e
)
override
;
void
closeEvent
(
QCloseEvent
*
event
)
override
{
event
->
ignore
();
}
private:
void
adjustToOrientation
(
Qt
::
Orientation
o
);
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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