~ubuntu-branches/ubuntu/precise/networkmanagement/precise

« back to all changes in this revision

Viewing changes to applet/interfaceitem.cpp

  • Committer: Package Import Robot
  • Author(s): Philip Muškovac
  • Date: 2012-02-11 20:44:55 UTC
  • Revision ID: package-import@ubuntu.com-20120211204455-se2bx8iwlyhnp89u
Tags: 0.9.0~rc4-0ubuntu2
Cherry pick upstream commit 6a5e30e94ee539b7765eb5ad054bf9e1a6785703
as fix-and-workaround-graphical-artifacts.diff
to fix graphical artifacts in buttons with the default plasma theme.

Show diffs side-by-side

added added

removed removed

Lines of Context:
105
105
    m_ifaceNameLabel->setSizePolicy(QSizePolicy::Expanding, QSizePolicy::Fixed);
106
106
    m_layout->addItem(m_ifaceNameLabel, 0, 1, 1, 1);
107
107
 
108
 
    m_disconnectButton = new Plasma::PushButton(this);
 
108
    m_disconnectButton = new Plasma::IconWidget(this);
109
109
    m_disconnectButton->setMaximumHeight(16);
110
110
    m_disconnectButton->setMaximumWidth(16);
111
111
    m_disconnectButton->setIcon(KIcon("dialog-close"));