mirror of
https://git.lyx.org/repos/lyx.git
synced 2025-01-11 11:08:41 +00:00
Compilation fix for Qt 4.2.1 in GuiPrefs.cpp
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21125 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
5ab6d5bf65
commit
3d33cd8bd3
@ -1839,8 +1839,8 @@ void PrefShortcuts::setItemType(QTreeWidgetItem * item, item_type tag)
|
|||||||
}
|
}
|
||||||
|
|
||||||
#if QT_VERSION >= 0x040200
|
#if QT_VERSION >= 0x040200
|
||||||
item->setForeground(0, QBrush(color));
|
item->setForeground(0, QBrush(QColor(color)));
|
||||||
item->setForeground(1, QBrush(color));
|
item->setForeground(1, QBrush(QColor(color)));
|
||||||
#else
|
#else
|
||||||
item->setTextColor(0, QColor(color));
|
item->setTextColor(0, QColor(color));
|
||||||
item->setTextColor(1, QColor(color));
|
item->setTextColor(1, QColor(color));
|
||||||
|
Loading…
Reference in New Issue
Block a user