mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-26 22:17:41 +00:00
*sigh*
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30421 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
97637e59fe
commit
341ac91738
@ -224,7 +224,7 @@ void GuiBranches::addUnknown()
|
||||
undef_->branchesLW->selectedItems();
|
||||
|
||||
QList<QListWidgetItem *>::const_iterator it = selItems.begin();
|
||||
for (it ; it != selItems.end() ; ++it) {
|
||||
for (; it != selItems.end() ; ++it) {
|
||||
QListWidgetItem const * new_branch = *it;
|
||||
if (new_branch) {
|
||||
branchlist_.add(qstring_to_ucs4(new_branch->text()));
|
||||
|
@ -2804,7 +2804,7 @@ void GuiDocument::updateUnknownBranches()
|
||||
buffer().getUsedBranches(used_branches);
|
||||
list<docstring>::const_iterator it = used_branches.begin();
|
||||
QStringList unknown_branches;
|
||||
for (it ; it != used_branches.end() ; ++it) {
|
||||
for (; it != used_branches.end() ; ++it) {
|
||||
if (!buffer().params().branchlist().find(*it))
|
||||
unknown_branches.append(toqstr(*it));
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user