[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: KDE/kdeplasma-addons/applets/weather
From: Davide Bettio <davide.bettio () kdemail ! net>
Date: 2010-11-29 16:43:06
Message-ID: 20101129164306.174B9AC8A3 () svn ! kde ! org
[Download RAW message or body]
SVN commit 1202095 by bettio:
Don't accept any button in the weather view so we can drag around the weather widget.
M +2 -0 weatherview.cpp
--- trunk/KDE/kdeplasma-addons/applets/weather/weatherview.cpp #1202094:1202095
@@ -33,6 +33,8 @@
WeatherView::WeatherView(QGraphicsWidget *parent)
: TreeView(parent)
{
+ setAcceptedMouseButtons(Qt::NoButton);
+
QTreeView *native = nativeWidget();
native->viewport()->setAutoFillBackground(false);
native->header()->hide();
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic