summaryrefslogtreecommitdiff
blob: 47fe7f97842c76a0944889d2e48be73e40cc3016 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
# Fix FTBFS with enabled hardened flags and gcc-4.6 failure
# https://bugs.gentoo.org/show_bug.cgi?id=380439

--- a/src/TPreviewPanel/TPreviewPanel.cpp
+++ b/src/TPreviewPanel/TPreviewPanel.cpp
@@ -167,7 +167,9 @@
 
 void TPreviewPanel::adjustItems()
 {
-	backgroundRect->setSize(&QRectF(0, 0, 1, 1));
+	QRectF myRect(0, 0, 1, 1);
+	backgroundRect->setSize(&myRect);
+
 	logo->setSize(QRect(0, 0, 1, 1));
 	
 	// adjust meta text