diff options
author | Markus Goetz <Markus.Goetz@nokia.com> | 2010-05-05 12:13:24 (GMT) |
---|---|---|
committer | Markus Goetz <Markus.Goetz@nokia.com> | 2010-05-05 12:14:03 (GMT) |
commit | 260212083c19e76e8e53dfe2ae44de70003769d7 (patch) | |
tree | 027c4a0033d25c03c2690edbfa9ac0d1dd3da13f /src | |
parent | ff2b6ddfd2763b6b365c7466d51a1e2374e4bd4b (diff) | |
download | Qt-260212083c19e76e8e53dfe2ae44de70003769d7.zip Qt-260212083c19e76e8e53dfe2ae44de70003769d7.tar.gz Qt-260212083c19e76e8e53dfe2ae44de70003769d7.tar.bz2 |
QHostInfo: Avoid one tiny copy of QHostInfo object when emitting
Thanks rittk!
Reviewed-by: Olivier
Diffstat (limited to 'src')
-rw-r--r-- | src/network/kernel/qhostinfo_p.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/network/kernel/qhostinfo_p.h b/src/network/kernel/qhostinfo_p.h index af270d8..85d14c2 100644 --- a/src/network/kernel/qhostinfo_p.h +++ b/src/network/kernel/qhostinfo_p.h @@ -84,7 +84,7 @@ public Q_SLOTS: } Q_SIGNALS: - void resultsReady(const QHostInfo info); + void resultsReady(const QHostInfo &info); }; // needs to be QObject because fromName calls tr() |