From 652bd1efca34b7e114836f79c33b5e4a248faaee Mon Sep 17 00:00:00 2001 From: Lars Knoll Date: Thu, 3 Sep 2020 15:04:16 +0200 Subject: Make QStringList an alias to QList Fix our API, so that QStringList and QList are the same thing. This required a bit of refactoring in QList and moving the indexOf(), lastIndexOf() and contains() method into QListSpecialMethods. In addition, we need to ensure that the QStringList(const QString&) constructor is still available for compatibility with Qt 5. Once those two are done, all methods in QStringList can be moved into QListSpecialMethods. Change-Id: Ib8afbf5b6d9df4d0d47051252233506f62335fa3 Reviewed-by: Andrei Golubev Reviewed-by: Thiago Macieira --- src/plugins/platforms/cocoa/qcocoafiledialoghelper.mm | 2 -- 1 file changed, 2 deletions(-) (limited to 'src/plugins/platforms') diff --git a/src/plugins/platforms/cocoa/qcocoafiledialoghelper.mm b/src/plugins/platforms/cocoa/qcocoafiledialoghelper.mm index 92b4c9f09a..bdf185d275 100644 --- a/src/plugins/platforms/cocoa/qcocoafiledialoghelper.mm +++ b/src/plugins/platforms/cocoa/qcocoafiledialoghelper.mm @@ -68,8 +68,6 @@ #include -QT_FORWARD_DECLARE_CLASS(QString) -QT_FORWARD_DECLARE_CLASS(QStringList) QT_FORWARD_DECLARE_CLASS(QFileInfo) QT_FORWARD_DECLARE_CLASS(QWindow) QT_USE_NAMESPACE -- cgit v1.2.3