From: Flavio Tordini Date: Wed, 15 Jul 2015 13:56:28 +0000 (+0200) Subject: Fix minimum size for Qt5 Mac X-Git-Tag: 2.5~75 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=6ccd13dbd113408ca97efed32aa9ffff97b685b9;p=minitube Fix minimum size for Qt5 Mac --- 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);