Code cleanups

Authored by tcanabrava on Jul 8 2019, 8:43 AM.

Description

Code cleanups

Summary:
Send options as an Array

*should* be faster as potentially there will be just one allocation

Rename variable: QApplication qa to app.

qa means nothing and the default for Qt apps is to have the
QApplication var named app.

Return directly without creating temporaries

Extract logic from main function

Subscribers: plasma-devel

Tags: Plasma

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

Details

Committed
tcanabravaJul 8 2019, 10:13 AM
Differential Revision
D22323: Code cleanups
Parents
R871:39301e2c5d91: Return directly without creating temporaries
Branches
Unknown
Tags
Unknown