mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-05 13:26:21 +00:00
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:
parent
715685a31f
commit
4b2eb61391
@ -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);
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user