[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    KDE/kdeplasma-addons/applets/weather
From:       Aaron J. Seigo <aseigo () kde ! org>
Date:       2010-05-04 5:48:03
Message-ID: 20100504054803.52611AC8AB () svn ! kde ! org
[Download RAW message or body]

SVN commit 1122544 by aseigo:

and now we dance, by which i mean we can now not have gigantic useless left margins in the widget.


 M  +0 -5      weatherapplet.cpp  


--- trunk/KDE/kdeplasma-addons/applets/weather/weatherapplet.cpp #1122543:1122544
@@ -710,11 +710,6 @@
     }
 
     if (!m_setupLayout) {
-        QGraphicsWidget *spacer = new QGraphicsWidget(this);
-        spacer->setSizePolicy(QSizePolicy::Expanding, QSizePolicy::Expanding);
-        spacer->setMinimumWidth(KIconLoader::SizeMedium);
-        spacer->setMaximumWidth(KIconLoader::SizeHuge);
-        m_bottomLayout->addItem(spacer);
         m_bottomLayout->addItem(m_tabBar);
         m_bottomLayout->setStretchFactor(m_tabBar, 2);
         m_layout->addItem(m_bottomLayout);
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic