Skip to content
Commit 181fc574 authored by Charles Huber's avatar Charles Huber
Browse files

ScreenPool: Store primary connector separately

* Store the primary connector in a dedicated config key instead of
  making slot 0 do double-duty.  This prevents setPrimaryConnector()
  from renumbering the connector list and 'losing' existing
  panel/desktop settings.
* Add a helper function to generate connector names instead of
  using QScreen::name() everywhere.  The helper function defaults to a
  QScreen::manufacturer()/model()/serialNumber() tuple where available
  with a fall-back to the original name() logic.

BUG: 427278
parent 9021c592
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment