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@14759 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
a9a6a5447d
commit
9aac0f789a
@ -32,11 +32,11 @@ namespace {
|
||||
void uniqueInsert(QComboBox * box, QString const & text)
|
||||
{
|
||||
for (int i = 0; i < box->count(); ++i) {
|
||||
if (box->text(i) == text)
|
||||
if (box->itemText(i) == text)
|
||||
return;
|
||||
}
|
||||
|
||||
box->insertItem(text);
|
||||
box->addItem(text);
|
||||
}
|
||||
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user