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
Plasma
Plasma Desktop
Commits
f6a6c836
Commit
f6a6c836
authored
Oct 23, 2020
by
Alexander Lohnau
💬
Browse files
Remove deprecated KRunner method calls
They are about to deprecated, see
frameworks/krunner!40
.
parent
8d33d2d7
Changes
2
Hide whitespace changes
Inline
Side-by-side
runners/kwin/kwin-runner.cpp
View file @
f6a6c836
...
...
@@ -35,9 +35,6 @@ KWinRunner::KWinRunner(QObject *parent, const QVariantList &args)
m_enabled
(
false
)
{
setObjectName
(
s_keyword
);
setIgnoredTypes
(
Plasma
::
RunnerContext
::
FileSystem
|
Plasma
::
RunnerContext
::
NetworkLocation
|
Plasma
::
RunnerContext
::
Help
);
QDBusServiceWatcher
*
watcher
=
new
QDBusServiceWatcher
(
s_kwinService
,
QDBusConnection
::
sessionBus
(),
QDBusServiceWatcher
::
WatchForOwnerChange
,
this
);
connect
(
watcher
,
&
QDBusServiceWatcher
::
serviceOwnerChanged
,
this
,
&
KWinRunner
::
checkAvailability
);
...
...
runners/plasma-desktop/plasma-desktop-runner.cpp
View file @
f6a6c836
...
...
@@ -37,9 +37,6 @@ PlasmaDesktopRunner::PlasmaDesktopRunner(QObject *parent, const QVariantList &ar
m_enabled
(
false
)
{
setObjectName
(
QLatin1String
(
"Plasma-Desktop"
));
setIgnoredTypes
(
Plasma
::
RunnerContext
::
FileSystem
|
Plasma
::
RunnerContext
::
NetworkLocation
|
Plasma
::
RunnerContext
::
Help
);
QDBusServiceWatcher
*
watcher
=
new
QDBusServiceWatcher
(
s_plasmaService
,
QDBusConnection
::
sessionBus
(),
QDBusServiceWatcher
::
WatchForOwnerChange
,
this
);
connect
(
watcher
,
&
QDBusServiceWatcher
::
serviceOwnerChanged
,
...
...
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