diff options
author | Friedemann Kleint <Friedemann.Kleint@qt.io> | 2018-01-30 15:55:40 +0100 |
---|---|---|
committer | Friedemann Kleint <Friedemann.Kleint@qt.io> | 2018-01-31 16:15:00 +0000 |
commit | d85e86375d44583bf8fda25ba5140f9aacfb0a0d (patch) | |
tree | 0f0642f63796a8ee1bdbf5bc59f87073729ec2c1 /src/qdoc/cppcodeparser.cpp | |
parent | de0db5ed1e7b5d08c2fe018d3ee2aa20d513d5c7 (diff) | |
download | qttools-d85e86375d44583bf8fda25ba5140f9aacfb0a0d.tar.gz |
Qt Designer: Fix deprecation warning
Use QDesktopWidget::availableGeometry(QWidget *) instead
of QDesktopWidget::availableGeometry(int), fixing:
shared\previewmanager.cpp:784:102: warning: 'const QRect QDesktopWidget::availableGeometry(int) const' is deprecated: Use QGuiApplication::screens() [-Wdeprecated-declarations]
const QRect availGeometry = desktop->availableGeometry(desktop->screenNumber(lastPreview));
^
Change-Id: Iac3a5fe4931503c42c94428ac19cd1dcbfb277aa
Reviewed-by: Jarek Kobus <jaroslaw.kobus@qt.io>
Diffstat (limited to 'src/qdoc/cppcodeparser.cpp')
0 files changed, 0 insertions, 0 deletions