summaryrefslogtreecommitdiffstats
path: root/src/network
diff options
context:
space:
mode:
authorKonstantin Ritt <ritt.ks@gmail.com>2010-12-10 03:47:36 (GMT)
committerAaron McCarthy <aaron.mccarthy@nokia.com>2010-12-10 03:47:36 (GMT)
commit35a6b31320104e90f584dc7ba528bd9ed05b8676 (patch)
tree51db9c1d6bf98093403328bbe713753011fed0ad /src/network
parentfab1d32dcb32235a34ed735251a27de2a1aaf8ce (diff)
downloadQt-35a6b31320104e90f584dc7ba528bd9ed05b8676.zip
Qt-35a6b31320104e90f584dc7ba528bd9ed05b8676.tar.gz
Qt-35a6b31320104e90f584dc7ba528bd9ed05b8676.tar.bz2
remove useless overload
sinse create(QString()) always returns 0 Merge-request: 899 Reviewed-by: Aaron McCarthy <aaron.mccarthy@nokia.com>
Diffstat (limited to 'src/network')
-rw-r--r--src/network/bearer/qbearerplugin_p.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/network/bearer/qbearerplugin_p.h b/src/network/bearer/qbearerplugin_p.h
index 3dbea9d..aee189b 100644
--- a/src/network/bearer/qbearerplugin_p.h
+++ b/src/network/bearer/qbearerplugin_p.h
@@ -68,7 +68,7 @@ QT_MODULE(Network)
struct Q_NETWORK_EXPORT QBearerEngineFactoryInterface : public QFactoryInterface
{
- virtual QBearerEngine *create(const QString &key = QString()) const = 0;
+ virtual QBearerEngine *create(const QString &key) const = 0;
};
#define QBearerEngineFactoryInterface_iid "com.trolltech.Qt.QBearerEngineFactoryInterface"
@@ -84,7 +84,7 @@ public:
virtual ~QBearerEnginePlugin();
virtual QStringList keys() const = 0;
- virtual QBearerEngine *create(const QString &key = QString()) const = 0;
+ virtual QBearerEngine *create(const QString &key) const = 0;
};
QT_END_NAMESPACE