https://bugs.kde.org/show_bug.cgi?id=520422

            Bug ID: 520422
           Summary: KScreenLocker : negative values also evaluate to true
    Classification: I don't know
           Product: kde
      Version First unspecified
       Reported In:
          Platform: unspecified
                OS: All
            Status: REPORTED
          Severity: minor
          Priority: NOR
         Component: general
          Assignee: [email protected]
          Reporter: [email protected]
  Target Milestone: ---

DESCRIPTION

There's a minor logic error left over from KDE4 days in `ksldapp.cpp`. It is by
now inconsequential but it kind of amuses me that no one fixed it and I can
still get to report it.

https://github.com/KDE/kscreenlocker/blob/a0b95037d9f1ba558e0326cbfee6e9f6462a33e7/ksldapp.cpp#L216

Evidently the "else if" branch is never executed nowadays, but "long" ago the
grace timer was started in the "if" branch (leading to a Qt complaint if the
user had not activated locking).

STEPS TO REPRODUCE
NA

OBSERVED RESULT
works as expected nowadays

EXPECTED RESULT
works as expected nowadays

(I know this should have gone in the Plasma category but I could not find the
KScreenLocker component.)

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to