Skip to content
  • Nicolas Fella's avatar
    Refactor enableBluetooth function · c1370419
    Nicolas Fella authored
    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
    
    Reviewers: #plasma, jgrulich
    
    Reviewed By: jgrulich
    
    Subscribers: plasma-devel
    
    Tags: #plasma
    
    Differential Revision: https://phabricator.kde.org/D28714
    c1370419