kdelibs/kdelibs-4.11.3-arm.patch

16 lines
589 B
Diff
Raw Permalink Normal View History

2013-12-02 15:55:32 +00:00
diff -up kdelibs-4.11.3/plasma/corona.cpp.than kdelibs-4.11.3/plasma/corona.cpp
--- kdelibs-4.11.3/plasma/corona.cpp.than 2013-12-02 16:46:19.542820822 +0100
2013-12-02 16:58:22 +00:00
+++ kdelibs-4.11.3/plasma/corona.cpp 2013-12-02 17:53:04.919830893 +0100
@@ -388,7 +388,11 @@ void Corona::addOffscreenWidget(QGraphic
2013-12-02 15:55:32 +00:00
}
d->offscreenWidgets[i] = widget;
2013-12-02 16:58:22 +00:00
+#if defined(arm) || defined(__arm__)
2013-12-02 15:55:32 +00:00
+ widget->setPos((-i - 1) * 2000, -2000);
2013-12-02 16:58:22 +00:00
+#else
widget->setPos((-i - 1) * QWIDGETSIZE_MAX, -QWIDGETSIZE_MAX);
+#endif
2013-12-02 15:55:32 +00:00
QGraphicsWidget *pw = widget->parentWidget();
widget->setParentItem(0);