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
PIM EventViews
Commits
f3c82ec0
Commit
f3c82ec0
authored
Dec 15, 2021
by
Laurent Montel
😁
Browse files
Port deprecated methods
parent
33cb455a
Pipeline
#110415
failed with stage
in 42 seconds
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
CMakeLists.txt
View file @
f3c82ec0
...
...
@@ -81,7 +81,7 @@ endif()
add_definitions
(
-DQT_DISABLE_DEPRECATED_BEFORE=0x050f02
)
add_definitions
(
-DKF_DISABLE_DEPRECATED_BEFORE_AND_AT=0x055
5
00
)
add_definitions
(
-DKF_DISABLE_DEPRECATED_BEFORE_AND_AT=0x055
A
00
)
########### CMake Config Files ###########
...
...
src/agenda/agendaview.cpp
View file @
f3c82ec0
...
...
@@ -435,9 +435,7 @@ CalendarDecoration::Decoration *AgendaHeader::loadCalendarDecoration(const QStri
for
(
it
=
list
.
constBegin
();
it
!=
list
.
constEnd
();
++
it
)
{
if
((
*
it
)
->
desktopEntryName
()
==
name
)
{
KService
::
Ptr
service
=
*
it
;
KPluginLoader
loader
(
*
service
);
auto
factory
=
loader
.
factory
();
KPluginFactory
*
factory
=
KPluginFactory
::
loadFactory
(
KPluginMetaData
(
service
->
library
())).
plugin
;
if
(
!
factory
)
{
qCDebug
(
CALENDARVIEW_LOG
)
<<
"Factory creation failed"
;
return
nullptr
;
...
...
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