Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
PIM
KAlarm
Commits
9bdfdaf4
Commit
9bdfdaf4
authored
Dec 19, 2020
by
Laurent Montel
😁
Browse files
GIT_SILENT: time to increase qt version as kf5-5.77 will depend against it.
parent
3b5953fe
Pipeline
#44647
skipped
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
CMakeLists.txt
View file @
9bdfdaf4
...
...
@@ -54,7 +54,7 @@ set(GRANTLEETHEME_LIB_VERSION "5.16.40")
set
(
KDEPIM_LIB_VERSION
"
${
PIM_VERSION
}
"
)
set
(
KDEPIM_LIB_SOVERSION
"5"
)
set
(
QT_REQUIRED_VERSION
"5.1
3
.0"
)
set
(
QT_REQUIRED_VERSION
"5.1
4
.0"
)
find_package
(
Qt5
${
QT_REQUIRED_VERSION
}
CONFIG REQUIRED DBus Gui Network Widgets
)
set
(
CALENDARUTILS_LIB_VERSION
"5.16.40"
)
...
...
src/lib/spinbox2.cpp
View file @
9bdfdaf4
...
...
@@ -661,20 +661,12 @@ void SpinMirror::wheelEvent(QWheelEvent* e)
{
if
(
mReadOnly
)
return
;
#if QT_VERSION < QT_VERSION_CHECK(5, 14, 0)
QPointF
pt
=
e
->
posF
();
#else
QPointF
pt
=
e
->
position
();
#endif
QGraphicsItem
*
item
=
scene
()
->
itemAt
(
pt
,
QTransform
());
if
(
item
==
mButtons
)
{
pt
=
spinboxPoint
(
pt
);
#if QT_VERSION < QT_VERSION_CHECK(5, 14, 0)
QApplication
::
postEvent
(
mSpinbox
,
new
QWheelEvent
(
pt
,
e
->
globalPosF
(),
e
->
pixelDelta
(),
e
->
angleDelta
(),
e
->
buttons
(),
e
->
modifiers
(),
e
->
phase
(),
e
->
inverted
(),
e
->
source
()));
#else
QApplication
::
postEvent
(
mSpinbox
,
new
QWheelEvent
(
pt
,
e
->
globalPosition
(),
e
->
pixelDelta
(),
e
->
angleDelta
(),
e
->
buttons
(),
e
->
modifiers
(),
e
->
phase
(),
e
->
inverted
(),
e
->
source
()));
#endif
}
}
...
...
Write
Preview
Supports
Markdown
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