1. 21 Jun, 2019 1 commit
  2. 09 Oct, 2018 1 commit
  3. 06 Oct, 2018 1 commit
  4. 02 Jan, 2018 1 commit
  5. 25 May, 2017 1 commit
  6. 08 May, 2017 1 commit
  7. 27 Feb, 2017 1 commit
    • Boudewijn Rempt's avatar
      Delete KisView on closing a view. · 6f614b5f
      Boudewijn Rempt authored
      This first makes KoCanvasBase a QObject; that used to be impossible
      because other calligra applications canvas classes multiply inherited
      QWidget and KoCanvasBase. That is no longer a consideration.
      
      Then every local use of a pointer to KoCanvasBase or KisCanvas2 is
      protected by QPointer. Now every canvas observer knows when a canvas
      has disappeared.
      
      But the canvas is deleted before the canvascontroller widget; that means
      that when deleting the canvas, the canvas controller widget would get
      confused because the canvas observers' canvas has already been deleted:
      unsetCanvas wouldn't be called on the canvas observers, so the logic here
      is now that if unsetCanvas is called when deleting the canvas controller
      widget, unsetCanvas is always called on all observers.
      
      Note: no dockers crash even if unsetCanvas isn't called at the right time,
      but it's still proper to call unsetCanvas to allow dockers to clean up
      things like local models linked to the layer model.
      6f614b5f
  8. 19 Oct, 2016 1 commit
  9. 19 Sep, 2016 1 commit
    • Dmitry Kazakov's avatar
      Fixed problems with synchronizations of preset selection widgets · 9ba6db96
      Dmitry Kazakov authored
      Summary:
      1) Now the selector has *no* selection if the currently active preset
         is not present in the filtered list of presets
      2) Clicking on the currently selected preset now either resets it,
         or does nothing depending on the "Save tweaks..." option value.
      3) All the three preset selectors are now synchronized
      4) The selector correctly shown the "dirty" mark right after you
         changed any property of the preset.
      
      Test Plan:
      1) Check sanity of the current selection in all the three preset
         selectors. They should be sane and synchronized.
      2) Switching the current tag should keep the selection correct (no
         selection is a valid state when the active preset is not present
         in the current tag)
      3) (!) Check if Brush Selector, Texture Selector, Pattern and Gradient
         popups still work correctly! They use the same codebase :(
      
      Ref T3473
      
      Reviewers: #krita, timotheegiet
      
      Maniphest Tasks: T3473
      
      Differential Revision: https://phabricator.kde.org/D2815
      9ba6db96
  10. 22 Apr, 2016 1 commit
  11. 30 Mar, 2016 1 commit
    • Boudewijn Rempt's avatar
      Fix loading the plugins again on OSX · d7256489
      Boudewijn Rempt authored
      We have two (well, three, but the tests don't work yet) situations:
      after make install, and after deploying. After install, plugins are
      in lib/kritaplugins, after deploy in PlugIns. To avoid trying to
      load way too many plugins, assume that all Krita plugins start with
      "krita".
      
      Also, move all dockers to plugins/dockers, from plugins/extensions/dockers.
      d7256489