Commit eb705591 authored by Vlad Zahorodnii's avatar Vlad Zahorodnii Committed by Vlad Zahorodnii
Browse files

Drop unused method

Display::startLoop() isn't used anywhere and it only adds maintenance
burden, so drop it.
parent 1569acb4
......@@ -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);
......
......@@ -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
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment