Skip to content

Commit

Permalink
Remove currentIndexChanged signal from RpgComboBox
Browse files Browse the repository at this point in the history
The currentIndexChanged signal in RpgComboBox which has been added
earlier in this PR has been removed now because it is no longer
needed because of the switch to LcfWidgetBinding.
  • Loading branch information
rueter37 committed Nov 30, 2021
1 parent ef1f254 commit a4d92c5
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions src/ui/common/rpg_combobox.h
Original file line number Diff line number Diff line change
Expand Up @@ -49,9 +49,6 @@ public slots:
QObject::connect(diag, SIGNAL(valueSelected(int)), this, SLOT(indexChanged(int)));
}

signals:
void currentIndexChanged(int);

protected:
QComboBox* m_comboBox;
};
Expand Down Expand Up @@ -104,7 +101,6 @@ class RpgComboBox : public RpgComboBoxBase

void indexChanged(int index) override {
m_comboBox->setCurrentIndex(index);
emit currentIndexChanged(index);
};

private:
Expand Down Expand Up @@ -148,8 +144,6 @@ RpgComboBox<LCF>::RpgComboBox(QWidget *parent, QAbstractItemModel *model) :
connect(dialog);
dialog->exec();
});

QObject::connect(m_comboBox, SIGNAL(currentIndexChanged(int)), this, SLOT(indexChanged(int)));
}

using ActorRpgComboBox = RpgComboBox<lcf::rpg::Actor>;
Expand Down

0 comments on commit a4d92c5

Please sign in to comment.