diff options
author | Tobias Markmann <tm@ayena.de> | 2017-04-04 07:17:53 (GMT) |
---|---|---|
committer | Tobias Markmann <tm@ayena.de> | 2017-04-04 07:18:28 (GMT) |
commit | 38f35935581b826940a10246b0a624c643dccc2e (patch) | |
tree | bc1e27b5209acc0bba2611dee50d0c419563effb /Swift/QtUI/ChatView | |
parent | f4034579f0d4adc6d2e7cb293e91cabd6d598887 (diff) | |
download | swift-38f35935581b826940a10246b0a624c643dccc2e.zip swift-38f35935581b826940a10246b0a624c643dccc2e.tar.bz2 |
Test against dialog type instead of nullptr in QtUserSearchWindow
If the dialog is not of type AddContact, firstMultiJIDPage_
is initialised and this states more clearly that the reset
is only done when the dialog is in this mode.
Coverity raised this issue.
Test-Information:
Added a user from search and started a chat from user search.
All unit tests pass on macOS 10.12.4.
Change-Id: I55f6df5b4f48e2c6718922846a424bf17f363b16
Diffstat (limited to 'Swift/QtUI/ChatView')
0 files changed, 0 insertions, 0 deletions