1. 18 May, 2019 4 commits
    • Michael Pyne's avatar
      Remove deprecated use of QSignalMapper. · 7d681172
      Michael Pyne authored
    • Michael Pyne's avatar
      Remove more compiler warnings for deprecated functions/uses. · 44d6bb2d
      Michael Pyne authored
      Still need to get rid of QSignalMapper using lambdas but that will need
      more thought.
    • Michael Pyne's avatar
      Merge branch 'Applications/19.04' · f10458fa
      Michael Pyne authored
    • Michael Pyne's avatar
      Add 'override' decl to fix compiler warnings, fix drag-and-drop. · dc2d9c8e
      Michael Pyne authored
      This should shave off some 1,000+ warnings over the course of a build
      with GCC 9.1.
      This only addresses class declarations native to JuK, but Taglib and to
      a lesser extent Qt5 moc still have (or generate) code that can result in
      compiler warnings about suggested override declarations.
      In the process I noticed that an existing drag-and-drop support function
      (Playlist::decode) is no longer overriding Qt virtual functions, so it
      has been turned into an auxiliary function to fix existing drag-and-drop
      bugs from the KF5 port (tested by dropping files from Dolphin into a
      playlist view).
      Drag-and-drop from a playlist to another playlist (by dropping on the
      playlist name) still remains broken for now.
  2. 02 May, 2019 1 commit
  3. 30 Apr, 2019 2 commits
  4. 08 Apr, 2019 3 commits
  5. 31 Mar, 2019 1 commit
  6. 16 Mar, 2019 2 commits
  7. 04 Mar, 2019 1 commit
  8. 19 Feb, 2019 4 commits
  9. 18 Feb, 2019 1 commit
    • Michael Pyne's avatar
      Fix crash with threaded file loading. · 24b0edd1
      Michael Pyne authored
      Although Qt protects access to functions in the GUI thread (where I was
      seeing crashes in the new threaded file loading code in some
      situations), as long as you use signals/slots, Qt Concurrent doesn't do
      anything to keep your non-GUI threaded code from trampling on each
      Which is obvious enough, in retrospect, but that seems to have been the
      reason for the crashes I was sometimes seeing (TagLib and/or FileHandle
      not being thread-safe).
      The immediate bugfix is to serialize access into FileHandle/TagLib file
      reading code in DirectoryLoader, though I also did some cleanups in the
      process of debugging that I think are worth keeping.
  10. 03 Feb, 2019 1 commit
  11. 20 Jan, 2019 1 commit
  12. 06 Jan, 2019 4 commits
  13. 03 Jan, 2019 3 commits
  14. 28 Dec, 2018 1 commit
  15. 27 Dec, 2018 2 commits
  16. 26 Dec, 2018 4 commits
  17. 24 Dec, 2018 1 commit
  18. 22 Dec, 2018 3 commits
    • Michael Pyne's avatar
      Merge branch 'Applications/18.12' · 6a1d0ec4
      Michael Pyne authored
    • Michael Pyne's avatar
      Port sort function for list of playlists to KF5. · 468a5169
      Michael Pyne authored
      Now that sorting is enabled, it turned out that the sort really was
      broken for everybody (sorry!). The old Qt 3 and 4 "sort by subclassing
      the list item" feature wasn't actually ported into the Qt 5
      compatibilility list view. So although we were defining the compare
      function, nothing was actually using it.
      Things seemed to work fine on my local system but I suspect that's
      because I had playlists from KDE 4 times that I copied over which would
      have already sorted the special playlists to the beginning.
      Since the old method doesn't work I've just added a hidden sort key
      column for now. The "proper solution" is probably to use a
      QSortFilterProxyModel but that will be some time away.
      CHANGELOG:Restore proper sorting of the list of playlists.
    • Michael Pyne's avatar
      Force sorting on so that special playlist sort to top. · dc3124e4
      Michael Pyne authored
      That is, so that special playlists hopefully sort to the top. Although
      the sorting of special playlists (Collection List, Play Queue, etc.) has
      worked for me since the port to KF5, I have a good report that it
      doesn't for others.
      The code itself appears correct but reviewing the Qt documentation
      indicates that QTreeWidget (which is one of the base classes for the
      list of playlists) doesn't sort by default.
      If QTreeWidget doesn't sort, then the comparison function might not be
      getting called at all, which would make it accident that it seems to
      work for me.
  19. 21 Dec, 2018 1 commit