diff options
author | Mikhail Khachayants <tyler92@inbox.ru> | 2021-05-17 13:31:41 +0300 |
---|---|---|
committer | Mikhail Khachayants <tyler92@inbox.ru> | 2021-05-19 07:30:30 +0000 |
commit | 2c2a3a9bef9652a6de7213ca88a7c3de72f20e2b (patch) | |
tree | 6b0eef889af18d22a0c0eb3bcfb5042fbf8d37a2 /src/plugins/cpptools/cpptoolstestcase.cpp | |
parent | 5b828f84fb961888d8ded3bc8e41844f45a99f70 (diff) | |
download | qt-creator-2c2a3a9bef9652a6de7213ca88a7c3de72f20e2b.tar.gz |
Utils: Fix crash on showing tooltips when screen configuration changed
Check QGuiApplication::screenAt(QPoint) return value. TextTip will use
QGuiApplication::primaryScreen() if it's nullptr.
Fixes: QTCREATORBUG-25747
Change-Id: If02648966e24f96f8c9a92e91b2bd27c1efc5f9e
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
Diffstat (limited to 'src/plugins/cpptools/cpptoolstestcase.cpp')
0 files changed, 0 insertions, 0 deletions