1. 14 Dec, 2020 1 commit
    • Dan Leinir Turthra Jensen's avatar
      Add a dptr to Cache, and move the throttle timer there to fix crash · 243ea615
      Dan Leinir Turthra Jensen authored
      Previously, the throttle timer was a raw static, but it was also a parented qobject, which means that when the cache was deleted, so was the timer, but the variable was not reset. Consequently, things would crash left and right later on. So, to alleviate this, and hopefully avoid future issues, introduce a dptr, stick the timer there, and move the logic to that private class as well.
      
      BUG:429442
      
      FIXED-IN:5.78
      243ea615
  2. 12 Dec, 2020 1 commit
  3. 10 Dec, 2020 2 commits
    • Alexander Lohnau's avatar
      969d5e29
    • Alexander Lohnau's avatar
      Create wrapper class for QML dialog · 79c683bc
      Alexander Lohnau authored
      This will allow KCMs and applications to utilize the
      QtQuick dialog without needing to be rewritten in QML.
      
      Also some signals are directly forwarded from the engine,
      this will make the consumers more flexible when
      reacting to installed/updated/uninstalled entries or
      the adoption command.
      
      Once the existing usages have been ported we can
      officially deprecate the old QWidgets stuff.
      79c683bc
  4. 09 Dec, 2020 1 commit
    • Alexander Lohnau's avatar
      Fix unit tests for kmoretools · 82005274
      Alexander Lohnau authored
      The unit test failed, because the messages were not recived.
      Also in the line below the result is properly checked, so
      checking the message is IMO not necessary.
      82005274
  5. 06 Dec, 2020 1 commit
  6. 05 Dec, 2020 1 commit
  7. 02 Dec, 2020 2 commits
  8. 30 Nov, 2020 6 commits
  9. 28 Nov, 2020 2 commits
  10. 27 Nov, 2020 3 commits
  11. 26 Nov, 2020 3 commits
  12. 25 Nov, 2020 3 commits
  13. 24 Nov, 2020 1 commit
  14. 23 Nov, 2020 2 commits
  15. 19 Nov, 2020 1 commit
    • Alexander Lohnau's avatar
      Rework adoption API · 858dec4c
      Alexander Lohnau authored
      This reworks the existing adoption API which adds warnings/error messages to it. In order for the KCMs to react to the adoption event the `signalEntryEvent` signal was added.
      
      Also this fixes the buttons in the UI being clickable.
      
      CCBUG: 417983
      858dec4c
  16. 16 Nov, 2020 2 commits
  17. 13 Nov, 2020 1 commit
  18. 09 Nov, 2020 1 commit
  19. 07 Nov, 2020 2 commits
  20. 24 Oct, 2020 1 commit
  21. 23 Oct, 2020 1 commit
  22. 21 Oct, 2020 1 commit
    • Dan Leinir Turthra Jensen's avatar
      Fix double-delete crash in kpackagejob · e1917b6a
      Dan Leinir Turthra Jensen authored
      Don't hang onto a pointer that's already been deleted, as QScopedPointer
      will just delete that for us. The semantics of
      KPackage::PackageStructures is that someone else /might/ own it, while
      the semantics of KPackage::Package is that we definitely own it, so we
      need to track the one we don't really know about.
      
      BUG:427910
      e1917b6a
  23. 20 Oct, 2020 1 commit