diff options
-rw-r--r-- | lib/csapi/create_room.h | 3 | ||||
-rw-r--r-- | lib/csapi/directory.h | 1 | ||||
-rw-r--r-- | lib/csapi/gtad.yaml | 2 | ||||
-rw-r--r-- | lib/csapi/list_joined_rooms.h | 1 | ||||
-rw-r--r-- | lib/csapi/list_public_rooms.h | 1 | ||||
-rw-r--r-- | lib/csapi/search.h | 3 | ||||
-rw-r--r-- | lib/csapi/versions.h | 1 |
7 files changed, 3 insertions, 9 deletions
diff --git a/lib/csapi/create_room.h b/lib/csapi/create_room.h index 995d5e73..f7b7e800 100644 --- a/lib/csapi/create_room.h +++ b/lib/csapi/create_room.h @@ -7,9 +7,8 @@ #include "jobs/basejob.h" #include <QtCore/QJsonObject> -#include <QtCore/QStringList> -#include <QtCore/QVector> #include "converters.h" +#include <QtCore/QVector> namespace QMatrixClient { diff --git a/lib/csapi/directory.h b/lib/csapi/directory.h index bf37170a..1e6b2f46 100644 --- a/lib/csapi/directory.h +++ b/lib/csapi/directory.h @@ -6,7 +6,6 @@ #include "jobs/basejob.h" -#include <QtCore/QStringList> namespace QMatrixClient { diff --git a/lib/csapi/gtad.yaml b/lib/csapi/gtad.yaml index 2e3b3c51..fcf0ba25 100644 --- a/lib/csapi/gtad.yaml +++ b/lib/csapi/gtad.yaml @@ -70,7 +70,7 @@ analyzer: - /m\.room\.member$/: pass # This $ref is only used in an array, see below - //: *UseOmittable # Also apply "avoidCopy" to all other ref'ed types - array: - - string: { type: QStringList, imports: <QtCore/QStringList> } + - string: QStringList - +set: { moveOnly: } +on: - /^Notification|Result$/: diff --git a/lib/csapi/list_joined_rooms.h b/lib/csapi/list_joined_rooms.h index 0a4a585f..2a030a54 100644 --- a/lib/csapi/list_joined_rooms.h +++ b/lib/csapi/list_joined_rooms.h @@ -6,7 +6,6 @@ #include "jobs/basejob.h" -#include <QtCore/QStringList> namespace QMatrixClient { diff --git a/lib/csapi/list_public_rooms.h b/lib/csapi/list_public_rooms.h index 16278bd5..c12773aa 100644 --- a/lib/csapi/list_public_rooms.h +++ b/lib/csapi/list_public_rooms.h @@ -7,7 +7,6 @@ #include "jobs/basejob.h" #include <QtCore/QVector> -#include <QtCore/QStringList> #include "converters.h" namespace QMatrixClient diff --git a/lib/csapi/search.h b/lib/csapi/search.h index 98a6315f..206bacca 100644 --- a/lib/csapi/search.h +++ b/lib/csapi/search.h @@ -8,9 +8,8 @@ #include <unordered_map> #include <QtCore/QHash> -#include "events/event.h" #include <QtCore/QJsonObject> -#include <QtCore/QStringList> +#include "events/event.h" #include "converters.h" #include <QtCore/QVector> diff --git a/lib/csapi/versions.h b/lib/csapi/versions.h index ab00eaa8..9f1a4831 100644 --- a/lib/csapi/versions.h +++ b/lib/csapi/versions.h @@ -6,7 +6,6 @@ #include "jobs/basejob.h" -#include <QtCore/QStringList> namespace QMatrixClient { |