From 681ddb5cdcbfbc32bb53fe9307a42c4b1b7e6707 Mon Sep 17 00:00:00 2001 From: "Aaron J. Seigo" Date: Mon, 9 Jun 2008 00:03:25 +0000 Subject: [PATCH] prepare ourselves for upstream fixes ;-P CCBUG:163459 svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=818610 --- applet.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/applet.cpp b/applet.cpp index ffb29fd77..cf77a372b 100644 --- a/applet.cpp +++ b/applet.cpp @@ -1520,6 +1520,9 @@ void Applet::Private::init() // that requires a scene, which is not available at this point q->setAcceptsHoverEvents(true); q->setFlag(QGraphicsItem::ItemIsFocusable, true); + // FIXME: adding here because nothing seems to be doing it in QGraphicsView, + // but it doesn't actually work anyways =/ + q->setLayoutDirection(qApp->layoutDirection()); if (!appletDescription.isValid()) { kDebug() << "Check your constructor! You probaly want to be passing a Service::Ptr or a QVariantList with a valid storageid as arg[0] in.";