Commit 4c171624 authored by Daniel Teske's avatar Daniel Teske Committed by Eike Ziller
Browse files

TargetSelector: None of the slots need to be a slot



Also addTarget is never called, so removing it.

Change-Id: I2329d1551e5d3c9ad9b5cb49b837d573aa4d0954
Reviewed-by: default avatarEike Ziller <eike.ziller@nokia.com>
parent 43d41798
......@@ -65,11 +65,6 @@ TargetSelector::TargetSelector(QWidget *parent) :
setFont(f);
}
void TargetSelector::addTarget(const QString &name)
{
insertTarget(m_targets.count(), name);
}
void TargetSelector::insertTarget(int index, const QString &name)
{
QTC_ASSERT(index >= 0 && index <= m_targets.count(), return);
......
......@@ -68,8 +68,7 @@ public:
bool isAddButtonEnabled() const;
bool isRemoveButtonEnabled() const;
public slots:
void addTarget(const QString &name);
public:
void insertTarget(int index, const QString &name);
void removeTarget(int index);
void setCurrentIndex(int index);
......
Supports Markdown
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