Don't make requests if we didn't manage to connect

Authored by apol on Sep 12 2017, 11:55 AM.

Description

Don't make requests if we didn't manage to connect

Summary:
Use QtConcurrent::run instead of QThread. QThread will issue the thread
immediately and that will overload the operating system giving "too many files
opened errors". QtConcurrent will do the appropriate balancing for us.

Test Plan: Doesn't crash on me anymore

Reviewers: jgrulich

Reviewed By: jgrulich

Subscribers: plasma-devel

Tags: Plasma

Differential Revision: https://phabricator.kde.org/D7785

Details

Committed
apolSep 13 2017, 10:14 AM
Reviewer
jgrulich
Differential Revision
D7785: Don't make requests if we didn't manage to connect
Parents
R134:335b4ded0fa1: SVN_SILENT made messages (.desktop file) - always resolve ours
Branches
Unknown
Tags
Unknown