summaryrefslogtreecommitdiffstats
path: root/src/network/kernel/qhostinfo_p.h
diff options
context:
space:
mode:
authorMarkus Goetz <Markus.Goetz@nokia.com>2010-05-05 12:13:24 (GMT)
committerMarkus Goetz <Markus.Goetz@nokia.com>2010-05-05 12:14:03 (GMT)
commit260212083c19e76e8e53dfe2ae44de70003769d7 (patch)
tree027c4a0033d25c03c2690edbfa9ac0d1dd3da13f /src/network/kernel/qhostinfo_p.h
parentff2b6ddfd2763b6b365c7466d51a1e2374e4bd4b (diff)
downloadQt-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/network/kernel/qhostinfo_p.h')
-rw-r--r--src/network/kernel/qhostinfo_p.h2
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()