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) : ...@@ -65,11 +65,6 @@ TargetSelector::TargetSelector(QWidget *parent) :
setFont(f); setFont(f);
} }
void TargetSelector::addTarget(const QString &name)
{
insertTarget(m_targets.count(), name);
}
void TargetSelector::insertTarget(int index, const QString &name) void TargetSelector::insertTarget(int index, const QString &name)
{ {
QTC_ASSERT(index >= 0 && index <= m_targets.count(), return); QTC_ASSERT(index >= 0 && index <= m_targets.count(), return);
......
...@@ -68,8 +68,7 @@ public: ...@@ -68,8 +68,7 @@ public:
bool isAddButtonEnabled() const; bool isAddButtonEnabled() const;
bool isRemoveButtonEnabled() const; bool isRemoveButtonEnabled() const;
public slots: public:
void addTarget(const QString &name);
void insertTarget(int index, const QString &name); void insertTarget(int index, const QString &name);
void removeTarget(int index); void removeTarget(int index);
void setCurrentIndex(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