diff options
author | hjk <hjk@theqtcompany.com> | 2016-01-19 17:20:52 +0100 |
---|---|---|
committer | hjk <hjk@theqtcompany.com> | 2016-01-20 07:05:36 +0000 |
commit | aac1fa5e9f485c7f00ba0747207990ceab8a6f67 (patch) | |
tree | 1eb1c4b1de8b11defa828e20c92c39fc8ce16cbb /src/plugins/coreplugin/manhattanstyle.cpp | |
parent | dc6968d1b886ac9e78393475f4774f19995ff4cb (diff) | |
download | qt-creator-aac1fa5e9f485c7f00ba0747207990ceab8a6f67.tar.gz |
Utils: Remove deprecated use of style options
Change-Id: I4403e459f700d2cc52f7d475a9c6d89ab2896485
Reviewed-by: Alessandro Portale <alessandro.portale@theqtcompany.com>
Diffstat (limited to 'src/plugins/coreplugin/manhattanstyle.cpp')
-rw-r--r-- | src/plugins/coreplugin/manhattanstyle.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/plugins/coreplugin/manhattanstyle.cpp b/src/plugins/coreplugin/manhattanstyle.cpp index d5e6fd6ea9..aaf842247f 100644 --- a/src/plugins/coreplugin/manhattanstyle.cpp +++ b/src/plugins/coreplugin/manhattanstyle.cpp @@ -622,8 +622,8 @@ void ManhattanStyle::drawControl(ControlElement element, const QStyleOption *opt // Most styles draw a single dark outline. This looks rather ugly when combined with our // single pixel dark separator so we adjust the first tab to compensate for this - if (const QStyleOptionTabV3 *tab = qstyleoption_cast<const QStyleOptionTabV3 *>(option)) { - QStyleOptionTabV3 adjustedTab = *tab; + if (const QStyleOptionTab *tab = qstyleoption_cast<const QStyleOptionTab *>(option)) { + QStyleOptionTab adjustedTab = *tab; if (tab->cornerWidgets == QStyleOptionTab::NoCornerWidgets && ( tab->position == QStyleOptionTab::Beginning || tab->position == QStyleOptionTab::OnlyOneTab)) |