diff options
author | hjk <hjk@qt.io> | 2023-08-23 16:11:48 +0200 |
---|---|---|
committer | hjk <hjk@qt.io> | 2023-08-23 14:30:50 +0000 |
commit | dc6b40a5c008405606fc22092a9361786a047dda (patch) | |
tree | 9e66c2d6e20d0c57f6447271e9ec26927a2b46bc /src/plugins/texteditor/storagesettings.h | |
parent | 55b5b8a975eb806594d1d0357293f40c27f01c06 (diff) |
Use Utils::Storage instead of QVariantMap in a few places
Change-Id: I02833cf2bc3caaadc22ff93ae530e4aebe4c3868
Reviewed-by: Marcus Tillmanns <marcus.tillmanns@qt.io>
Diffstat (limited to 'src/plugins/texteditor/storagesettings.h')
-rw-r--r-- | src/plugins/texteditor/storagesettings.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/plugins/texteditor/storagesettings.h b/src/plugins/texteditor/storagesettings.h index 522c103917..85a88a022f 100644 --- a/src/plugins/texteditor/storagesettings.h +++ b/src/plugins/texteditor/storagesettings.h @@ -5,7 +5,7 @@ #include "texteditor_global.h" -#include <QVariantMap> +#include <utils/storage.h> namespace TextEditor { @@ -17,8 +17,8 @@ public: void toSettings(const QString &category) const; void fromSettings(const QString &category); - QVariantMap toMap() const; - void fromMap(const QVariantMap &map); + Utils::Storage toMap() const; + void fromMap(const Utils::Storage &map); // calculated based on boolean setting plus file type blacklist examination bool removeTrailingWhitespace(const QString &filePattern) const; |