get rid of QT3_SUPPORT and some cleanup

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14738 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Abdelrazak Younes 2006-08-17 08:51:54 +00:00
parent 715685a31f
commit 4b2eb61391

View File

@ -60,12 +60,12 @@ void QBranch::update_contents()
int count = 0;
for (const_iterator it = begin; it != end; ++it, ++count) {
string const & branch = it->getBranch();
dialog_->branchCO->insertItem(toqstr(branch));
dialog_->branchCO->addItem(toqstr(branch));
if (cur_branch == branch)
id = count;
}
dialog_->branchCO->setCurrentItem(id);
dialog_->branchCO->setCurrentIndex(id);
}