Merge pull request #6335 from aerusso/pulls/movable-section

setFirstSectionMovable() in playlistview.cpp
This commit is contained in:
John Maguire 2019-04-23 00:46:19 +01:00 committed by GitHub
commit 3b76fa6275
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -138,6 +138,9 @@ PlaylistView::PlaylistView(QWidget* parent)
dynamic_controls_(new DynamicPlaylistControls(this)) {
setHeader(header_);
header_->setSectionsMovable(true);
#if QT_VERSION >= QT_VERSION_CHECK(5, 11, 0)
header_->setFirstSectionMovable(true);
#endif
setStyle(style_);
setMouseTracking(true);