mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-23 10:18:50 +00:00
* cosmetic
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23477 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
cafaf075e5
commit
d749ce138d
@ -248,7 +248,7 @@ public:
|
||||
: QAbstractItemDelegate(parent) {}
|
||||
|
||||
///
|
||||
void paint(QPainter * painter, const QStyleOptionViewItem & option,
|
||||
void paint(QPainter * painter, QStyleOptionViewItem const & option,
|
||||
const QModelIndex &index) const {
|
||||
QComboBox * combo = static_cast<QComboBox const *>(parent());
|
||||
|
||||
@ -284,8 +284,8 @@ public:
|
||||
}
|
||||
|
||||
///
|
||||
QSize sizeHint(const QStyleOptionViewItem &option,
|
||||
const QModelIndex &index) const {
|
||||
QSize sizeHint(QStyleOptionViewItem const & option,
|
||||
QModelIndex const & index) const {
|
||||
QComboBox * combo = static_cast<QComboBox const *>(parent());
|
||||
|
||||
QStyleOptionMenuItem opt = getStyleOption(option, index);
|
||||
@ -325,8 +325,8 @@ private:
|
||||
}
|
||||
|
||||
///
|
||||
QStyleOptionMenuItem getStyleOption(const QStyleOptionViewItem &option,
|
||||
const QModelIndex &index) const
|
||||
QStyleOptionMenuItem getStyleOption(QStyleOptionViewItem const & option,
|
||||
QModelIndex const & index) const
|
||||
{
|
||||
QComboBox * combo = static_cast<QComboBox const *>(parent());
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user