May I ask how did you find out QComboBox::currentIndexChanged()? From docs? There is also QComboBox::currentIndex() and QComboBox::setCurrentIndex()..
Qt Code:
int idx = comboBox_city->currentIndex();To copy to clipboard, switch view to plain text mode
Bookmarks