diff options
author | Volker Hilsheimer <volker.hilsheimer@qt.io> | 2019-04-24 17:06:15 +0200 |
---|---|---|
committer | Volker Hilsheimer <volker.hilsheimer@qt.io> | 2019-04-30 10:57:56 +0000 |
commit | dc3e5c48380ff564df9a232b13e2cf1fab65f66d (patch) | |
tree | bdb05570c29202b40406583b0d970968a5c58a8b /.tag | |
parent | d647cf85fa3813a65921266a9998cd2e54e5f2f9 (diff) |
Consolidate Unix and Windows implementations of QHostInfo::fromName
The implementations were practically identical, so we can just move the
code into qhostinfo.cpp, cleaning up things along the way.
Since QHostInfoAgent is an internal class, add the shared code as
additional static helper functions. And since half the code already used
QCoreApplication::translate anyway, we can remove the QObject
inheritance which was only added for getting a tr().
Change-Id: I58eafbdc3e7d06d2e898486a1add63cd63d98c96
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Diffstat (limited to '.tag')
0 files changed, 0 insertions, 0 deletions