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
KOrganizer
Commits
9eeed156
Commit
9eeed156
authored
Aug 17, 2021
by
Nicolas Fella
Browse files
Drop unused function
parent
1856b09d
Pipeline
#75923
passed with stage
in 13 minutes and 9 seconds
Changes
2
Pipelines
3
Hide whitespace changes
Inline
Side-by-side
src/kocore.cpp
View file @
9eeed156
...
...
@@ -71,19 +71,6 @@ EventViews::CalendarDecoration::Decoration *KOCore::loadCalendarDecoration(const
return
pluginFactory
->
createPluginFactory
();
}
EventViews
::
CalendarDecoration
::
Decoration
*
KOCore
::
loadCalendarDecoration
(
const
QString
&
name
)
{
const
KService
::
List
list
=
availableCalendarDecorations
();
KService
::
List
::
ConstIterator
it
;
KService
::
List
::
ConstIterator
end
(
list
.
constEnd
());
for
(
it
=
list
.
constBegin
();
it
!=
end
;
++
it
)
{
if
((
*
it
)
->
desktopEntryName
()
==
name
)
{
return
loadCalendarDecoration
(
*
it
);
}
}
return
nullptr
;
}
void
KOCore
::
addXMLGUIClient
(
QWidget
*
wdg
,
KXMLGUIClient
*
guiclient
)
{
mXMLGUIClients
.
insert
(
wdg
,
guiclient
);
...
...
src/kocore.h
View file @
9eeed156
...
...
@@ -31,7 +31,6 @@ public:
Q_REQUIRED_RESULT
KService
::
List
availableCalendarDecorations
();
EventViews
::
CalendarDecoration
::
Decoration
*
loadCalendarDecoration
(
const
KService
::
Ptr
&
service
);
EventViews
::
CalendarDecoration
::
Decoration
*
loadCalendarDecoration
(
const
QString
&
);
EventViews
::
CalendarDecoration
::
Decoration
::
List
loadCalendarDecorations
();
void
addXMLGUIClient
(
QWidget
*
,
KXMLGUIClient
*
guiclient
);
...
...
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