D29775: [kcmkwin/kwinrules] Create RulesModel on demand

Kai Uwe Broulik <[email protected]>
Newsgroups gmane.comp.kde.devel.kwin
Message-ID <[email protected]>
broulik created this revision.
broulik added reviewers: KWin, iasensio.
Herald added a project: KWin.
Herald added a subscriber: kwin.
broulik requested review of this revision.

REVISION SUMMARY
  Creating it is quite heavy and not needed for showing the overview.
  
  BUG: 421564
  FIXED-IN: 5.19.0

TEST PLAN
  - KCM loads noticeably faster but I only tested with two rules :)
  - Can still edit and save rules

REPOSITORY
  R108 KWin

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

AFFECTED FILES
  kcmkwin/kwinrules/kcmrules.cpp
  kcmkwin/kwinrules/kcmrules.h
  kcmkwin/kwinrules/rulesmodel.cpp

To: broulik, #kwin, iasensio
Cc: kwin, Orage, cacarry, LeGast00n, The-Feren-OS-Dev, cblack, jraleigh, zachus, fbampaloukas, mkulinski, ragreen, jackyalcine, iodelay, crozbo, bwowk, ZrenBot, ngraham, alexeymin, himcesjf, lesliezhai, ali-mohamed, hardening, romangg, jensreuterberg, abetts, sebas, apol, ahiemstra, mart
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.