summaryrefslogtreecommitdiff
path: root/src/qdoc/cppcodeparser.cpp
diff options
context:
space:
mode:
authorFriedemann Kleint <Friedemann.Kleint@qt.io>2018-01-30 15:55:40 +0100
committerFriedemann Kleint <Friedemann.Kleint@qt.io>2018-01-31 16:15:00 +0000
commitd85e86375d44583bf8fda25ba5140f9aacfb0a0d (patch)
tree0f0642f63796a8ee1bdbf5bc59f87073729ec2c1 /src/qdoc/cppcodeparser.cpp
parentde0db5ed1e7b5d08c2fe018d3ee2aa20d513d5c7 (diff)
downloadqttools-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