summaryrefslogtreecommitdiffstats
path: root/src/widgets/dialogs/qmessagebox.cpp
diff options
context:
space:
mode:
authorThiago Macieira <thiago.macieira@intel.com>2014-12-24 15:43:08 -0200
committerThiago Macieira <thiago.macieira@intel.com>2015-03-06 07:53:59 +0000
commit775d04f97ec1723c01c12f8faab05236686b9b05 (patch)
treeb1481664428dd47abe58b0c9763d137d70a9f6b9 /src/widgets/dialogs/qmessagebox.cpp
parentab8d36d6f36119dc9ef211acc391d8c2bfb5ee83 (diff)
Add a QHostAddress::toIPv4Address overload taking a bool *ok
This allows one to check whether the conversion is successful without checking for the return result, as the value of 0 represents the valid IPv4 address 0.0.0.0. Change-Id: I637fe55583f2255c85b0d955e5886b61494e0c7c Reviewed-by: Richard J. Moore <rich@kde.org>
Diffstat (limited to 'src/widgets/dialogs/qmessagebox.cpp')
0 files changed, 0 insertions, 0 deletions