Enable GHNS button for KWin scripts

Functionality had already been present for quite some time and now that
the category on kde-look exists, we can just show the button.

BUG: 296774
FIXED-IN: 4.9.3
REVIEW: 106963
remotes/origin/Plasma/5.0
Martin Gräßlin 14 years ago
parent f476d76ece
commit 7f26069f25
  1. 3
      kcmkwin/kwinscripts/module.cpp

@ -57,9 +57,6 @@ Module::Module(QWidget *parent, const QVariantList &args) :
ui->setupUi(this);
ui->ghnsButton->setIcon(KIcon("get-hot-new-stuff"));
// TODO: remove once the category has been created.
ui->ghnsButton->setVisible(false);
connect(ui->scriptSelector, SIGNAL(changed(bool)), this, SLOT(changed()));
connect(ui->importScriptButton, SIGNAL(clicked()), SLOT(importScript()));
connect(ui->ghnsButton, SIGNAL(clicked(bool)), SLOT(slotGHNSClicked()));

Loading…
Cancel
Save