diff options
author | hjk <hjk@qt.io> | 2020-01-29 07:45:27 +0100 |
---|---|---|
committer | hjk <hjk@qt.io> | 2020-01-29 07:46:56 +0000 |
commit | 597445ff06b5af06113d2c4f2b865d77d6b6eecc (patch) | |
tree | 29464c1a25621e8ad70cf0c5d2cc0da7af3b670b /src/plugins/valgrind | |
parent | 10537d84694024063f279c93f7d173d5f402f63a (diff) |
Qmake: Handle QFlags deprecation
Change-Id: I2565ce0b1b10d4cb663dc6ad2721b717ce48c17d
Reviewed-by: David Schulz <david.schulz@qt.io>
Diffstat (limited to 'src/plugins/valgrind')
-rw-r--r-- | src/plugins/valgrind/callgrindcostdelegate.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/valgrind/callgrindcostdelegate.cpp b/src/plugins/valgrind/callgrindcostdelegate.cpp index ff70a5f98b..921c9e3164 100644 --- a/src/plugins/valgrind/callgrindcostdelegate.cpp +++ b/src/plugins/valgrind/callgrindcostdelegate.cpp @@ -138,7 +138,7 @@ void CostDelegate::paint(QPainter *painter, const QStyleOptionViewItem &option, // Draw text. QLocale loc = opt.locale; - loc.setNumberOptions(nullptr); + loc.setNumberOptions({}); const QString text = d->displayText(index, loc); const QBrush &textBrush = (option.state & QStyle::State_Selected ? opt.palette.highlightedText() : opt.palette.text()); painter->setBrush(Qt::NoBrush); |