From 4b2eb6139144e64a2fe47e889c214e81c1e3ac01 Mon Sep 17 00:00:00 2001 From: Abdelrazak Younes Date: Thu, 17 Aug 2006 08:51:54 +0000 Subject: [PATCH] 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 --- src/frontends/qt4/QBranch.C | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/frontends/qt4/QBranch.C b/src/frontends/qt4/QBranch.C index 086dd999b2..002353cbcb 100644 --- a/src/frontends/qt4/QBranch.C +++ b/src/frontends/qt4/QBranch.C @@ -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); }