Skip to content
Snippets Groups Projects
Commit 56e43ffb authored by hjk's avatar hjk
Browse files

Compile fix on Mac


Change-Id: I99adf29b234d820c15889e617d2d4a7ba11c8f91
Reviewed-by: default avatarhjk <qthjk@ovi.com>
parent 37527b55
No related branches found
No related tags found
No related merge requests found
...@@ -563,7 +563,7 @@ QSize QStyleItem::sizeFromContents(int width, int height) ...@@ -563,7 +563,7 @@ QSize QStyleItem::sizeFromContents(int width, int height)
case Header: case Header:
size = qApp->style()->sizeFromContents(QStyle::CT_HeaderSection, m_styleoption, QSize(width,height), widget()); size = qApp->style()->sizeFromContents(QStyle::CT_HeaderSection, m_styleoption, QSize(width,height), widget());
#ifdef Q_OS_MAC #ifdef Q_OS_MAC
if (style() =="mac") if (style() == QLatin1String("mac"))
size.setHeight(15); size.setHeight(15);
#endif #endif
break; break;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment