diff options
| author | Eike Ziller <eike.ziller@qt.io> | 2021-08-04 12:21:43 +0200 |
|---|---|---|
| committer | Eike Ziller <eike.ziller@qt.io> | 2021-08-04 12:15:56 +0000 |
| commit | 5ffad0a4c57e6838da57eb492d1a63eb444d9634 (patch) | |
| tree | eaec054c549230a46b7c648d53bd3ae5a2238b3f /plugins/haskell/haskelltokenizer.h | |
| parent | 3cf1970615d9ca2dcc5f3f6e86d69617d83adbcb (diff) | |
Fix build with Qt 6
- setContentsMargins
- QStringView instead of QStringRef
Change-Id: I2cd4df9b68f5f2fbf4c5d918b0bf238734518037
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
Diffstat (limited to 'plugins/haskell/haskelltokenizer.h')
| -rw-r--r-- | plugins/haskell/haskelltokenizer.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/haskell/haskelltokenizer.h b/plugins/haskell/haskelltokenizer.h index 29b10df..63d82d9 100644 --- a/plugins/haskell/haskelltokenizer.h +++ b/plugins/haskell/haskelltokenizer.h @@ -61,7 +61,7 @@ public: TokenType type = TokenType::Unknown; int startCol = -1; int length = -1; - QStringRef text; + QStringView text; std::shared_ptr<QString> source; // keep the string ref alive }; |
