nicolasfella created this revision. nicolasfella added a reviewer: Plasma. Herald added a project: Plasma. Herald added a subscriber: plasma-devel. Herald added a reviewer: jgrulich. nicolasfella requested review of this revision.
REVISION SUMMARY The code has quite some boilerplate and high levels of indentation, resulting in poor readability. Factoring out the DBus boilerplate makes it easier to focus on the essential parts. TEST PLAN (de)activated flight mode. Bluetooth was (dis)abled accordingly REPOSITORY R116 Plasma Network Management Applet BRANCH bluetooth REVISION DETAIL https://phabricator.kde.org/D28714 AFFECTED FILES libs/handler.cpp To: nicolasfella, #plasma, jgrulich Cc: plasma-devel, Orage, LeGast00n, The-Feren-OS-Dev, cblack, jraleigh, zachus, fbampaloukas, GB_2, ragreen, ZrenBot, ngraham, himcesjf, lesliezhai, ali-mohamed, jensreuterberg, abetts, sebas, apol, ahiemstra, mart