From 6ccd13dbd113408ca97efed32aa9ffff97b685b9 Mon Sep 17 00:00:00 2001 From: Flavio Tordini Date: Wed, 15 Jul 2015 15:56:28 +0200 Subject: [PATCH] Fix minimum size for Qt5 Mac --- src/playlistview.cpp | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/playlistview.cpp b/src/playlistview.cpp index c831c3b..ac67554 100644 --- a/src/playlistview.cpp +++ b/src/playlistview.cpp @@ -29,7 +29,12 @@ PlaylistView::PlaylistView(QWidget *parent) : QListView(parent), setSelectionMode(QAbstractItemView::ExtendedSelection); setSizePolicy(QSizePolicy::MinimumExpanding, QSizePolicy::Expanding); + +#if QT_VERSION >= 0x050000 && defined(APP_MAC) + setMinimumWidth(160); +#else setMinimumWidth(175); +#endif // dragndrop setDragEnabled(true); -- 2.39.5