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
KWin
Commits
0d45f15c
Commit
0d45f15c
authored
Jul 07, 2020
by
Vlad Zahorodnii
Committed by
Vlad Zahorodnii
Jul 08, 2020
Browse files
Drop unused method
Display::startLoop() isn't used anywhere and it only adds maintenance burden, so drop it.
parent
a634ce77
Changes
2
Hide whitespace changes
Inline
Side-by-side
src/wayland/display.cpp
View file @
0d45f15c
...
...
@@ -192,13 +192,6 @@ bool Display::start(StartMode mode)
return
d
->
running
;
}
void
Display
::
startLoop
()
{
Q_ASSERT
(
!
d
->
running
);
Q_ASSERT
(
d
->
display
);
d
->
installSocketNotifier
();
}
void
Display
::
dispatchEvents
(
int
msecTimeout
)
{
Q_ASSERT
(
d
->
display
);
...
...
src/wayland/display.h
View file @
0d45f15c
...
...
@@ -130,15 +130,6 @@ public:
* function returns @c true; otherwise @c false is returned.
*/
bool
start
(
StartMode
mode
=
StartMode
::
ConnectToSocket
);
/**
* Starts the event loop for the server socket.
* This method should only be used if start() is used before creating the
* QCoreApplication. In that case start() cannot fully setup the event processing
* and the loop needs to be started after the QCoreApplication got created.
* @see start
* @see dispatchEvents
**/
void
startLoop
();
/**
* Dispatches pending events in a blocking way. May only be used if the Display is
* created and started before the QCoreApplication is created. Once the QCoreApplication
...
...
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