Fixed issue causing changed signal to be called with false argument

Authored by tigrang on Mar 21 2019, 11:48 PM.



AdvanceConfig::changed signal is called with changed=false arguement when QGroupBox::clicked is called with checked=false causing the Apply button to remain disabled.

BUG: 403366

Test Plan
  1. Open SDDM settings
  2. Enable auto-login, save and close.
  3. Open SDDM settings again
  4. Uncheck auto-login

Apply button should now be enabled.
Same steps for Relogin after quit checkbox.

Diff Detail

R123 SDDM Configuration Panel (KCM)
Automatic diff as part of commit; lint not applicable.
Automatic diff as part of commit; unit tests not applicable.
tigrang created this revision.Mar 21 2019, 11:48 PM
Restricted Application added a project: Plasma. · View Herald TranscriptMar 21 2019, 11:48 PM
Restricted Application added a subscriber: plasma-devel. · View Herald Transcript
tigrang requested review of this revision.Mar 21 2019, 11:48 PM
tigrang edited the summary of this revision. (Show Details)Mar 21 2019, 11:57 PM
mlaurent accepted this revision.Mar 22 2019, 2:54 PM
mlaurent added a subscriber: mlaurent.

Good catch.
it's a bug in clazy.

Do you have an commit access ?
or do you want that I commit for you ?

This revision is now accepted and ready to land.Mar 22 2019, 2:54 PM

I do not have commit access.

Can you commit for me, please?

Full Name: Tigran Gabrielyan

This revision was automatically updated to reflect the committed changes.

@mlaurent you didn't commit with with correct authorship information in the git author field. :(