D29236: Add setDefaultProfile() to ViewManager

Luca Weiss noreply at phabricator.kde.org
Mon Apr 27 18:36:22 BST 2020


z3ntu created this revision.
Herald added a project: Konsole.
Herald added a subscriber: konsole-devel.
z3ntu requested review of this revision.

REVISION SUMMARY
  This allows the user to set the default Konsole profile via D-Bus.

TEST PLAN
  - Open yakuake
  - Open d-feet on Session Bus org.kde.yakuake -> /Windows/1 -> org.kde.konsole.Window
  - Have two Yakuake profiles (mine are called 'Dark' and 'Light')
  - defaultProfile() returns 'Dark'
  - setDefaultProfile('Light')
  - defaultProfile() returns 'Light' and opening a new tab in Yakuake shows that the 'Light' profile is active

REPOSITORY
  R319 Konsole

BRANCH
  setDefaultProfile

REVISION DETAIL
  https://phabricator.kde.org/D29236

AFFECTED FILES
  src/ViewManager.cpp
  src/ViewManager.h

To: z3ntu
Cc: konsole-devel, cent, EspadaV8, fbampaloukas, thsurrel, ngraham, maximilianocuria, hindenburg
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/konsole-devel/attachments/20200427/2b503ae9/attachment.html>


More information about the konsole-devel mailing list