diff options
author | Jeremy Katz <jeremy.katz@nokia.com> | 2010-05-04 12:26:43 (GMT) |
---|---|---|
committer | Jeremy Katz <jeremy.katz@nokia.com> | 2010-05-04 12:26:43 (GMT) |
commit | c6fd02d70e22d497658153abbd9fcf3176b550ca (patch) | |
tree | eae6ec64fd386c1843ad67f0ae0f960ddb36f3a4 /src/plugins/platforms/linuxfb | |
parent | b30a58d71d2608b033c1e9fcfa68cc69c14d31c7 (diff) | |
download | Qt-c6fd02d70e22d497658153abbd9fcf3176b550ca.zip Qt-c6fd02d70e22d497658153abbd9fcf3176b550ca.tar.gz Qt-c6fd02d70e22d497658153abbd9fcf3176b550ca.tar.bz2 |
add parameter support for platform integration plugins
Diffstat (limited to 'src/plugins/platforms/linuxfb')
-rw-r--r-- | src/plugins/platforms/linuxfb/main.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/plugins/platforms/linuxfb/main.cpp b/src/plugins/platforms/linuxfb/main.cpp index 65569ac..c5f7fe0 100644 --- a/src/plugins/platforms/linuxfb/main.cpp +++ b/src/plugins/platforms/linuxfb/main.cpp @@ -48,7 +48,7 @@ class QLinuxFbIntegrationPlugin : public QPlatformIntegrationPlugin { public: QStringList keys() const; - QPlatformIntegration *create(const QString&); + QPlatformIntegration *create(const QString&, const QStringList&); }; QStringList QLinuxFbIntegrationPlugin::keys() const @@ -58,8 +58,9 @@ QStringList QLinuxFbIntegrationPlugin::keys() const return list; } -QPlatformIntegration* QLinuxFbIntegrationPlugin::create(const QString& system) +QPlatformIntegration* QLinuxFbIntegrationPlugin::create(const QString& system, const QStringList& paramList) { + Q_UNUSED(paramList); if (system.toLower() == "linuxfb") return new QLinuxFbIntegration; |