Commit e3f24f95 authored by Stefan Champailler's avatar Stefan Champailler Committed by Nate Graham

Move "update" button from the left side to the right side in NIC module

Summary:
The rationale of that change is that at some other place in the KInfoCenter, the buttons are aligned to the right (for example in the IEEE 1394 device info, see the "Generate 1394 Bus Reset" button), so I think it's better if everything is aligned the same way.

Before:
{F6186087}

After:
{F6186086}

Test Plan: Run the updated KInfoCenter. Go in the Network Information / Network Interfaces module and check that the update button is in the lower right corner instead of the left corner. The rest of the functionality is unchanged.

Reviewers: ngraham

Reviewed By: ngraham

Subscribers: abetts, broulik, plasma-devel

Tags: #plasma

Differential Revision: https://phabricator.kde.org/D14737
parent 2c5399f5
......@@ -96,8 +96,8 @@ KCMNic::KCMNic(QWidget *parent, const QVariantList &) :
QHBoxLayout *hbox=new QHBoxLayout();
box->addItem(hbox);
m_updateButton=new QPushButton(i18n("&Update"),this);
hbox->addWidget(m_updateButton);
hbox->addStretch(1);
hbox->addWidget(m_updateButton);
QTimer* timer=new QTimer(this);
timer->start(60000);
connect(m_updateButton, &QPushButton::clicked, this, &KCMNic::update);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment