diff options
Diffstat (limited to 'media-plugins/audacious-plugins/files')
-rw-r--r-- | media-plugins/audacious-plugins/files/audacious-plugins-3.9-qt-5.10.patch | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/media-plugins/audacious-plugins/files/audacious-plugins-3.9-qt-5.10.patch b/media-plugins/audacious-plugins/files/audacious-plugins-3.9-qt-5.10.patch new file mode 100644 index 000000000000..64122bf91980 --- /dev/null +++ b/media-plugins/audacious-plugins/files/audacious-plugins-3.9-qt-5.10.patch @@ -0,0 +1,26 @@ +From 971f7ff7c3d8a0b9b420bf4fd19ab97755607637 Mon Sep 17 00:00:00 2001 +From: ilovezfs <ilovezfs@icloud.com> +Date: Mon, 11 Dec 2017 00:17:26 -0800 +Subject: [PATCH] qtui: fix build with Qt 5.10 + +Fixes "info_bar.cc:258:21: error: no viable overloaded '='" +--- + src/qtui/info_bar.cc | 4 ++-- + 1 file changed, 2 insertions(+), 2 deletions(-) + +diff --git a/src/qtui/info_bar.cc b/src/qtui/info_bar.cc +index 2789f93c5..eb29ef78e 100644 +--- a/src/qtui/info_bar.cc ++++ b/src/qtui/info_bar.cc +@@ -257,8 +257,8 @@ void InfoBar::paintEvent (QPaintEvent *) + if (d.title.text ().isNull () && ! d.orig_title.isNull ()) + { + QFontMetrics metrics = p.fontMetrics (); +- d.title = metrics.elidedText (d.orig_title, Qt::ElideRight, +- width () - ps.VisWidth - ps.Height - ps.Spacing); ++ d.title = QStaticText(metrics.elidedText (d.orig_title, Qt::ElideRight, ++ width () - ps.VisWidth - ps.Height - ps.Spacing)); + } + + p.setPen (QColor (255, 255, 255)); + |