aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/git/commitdata.h
diff options
context:
space:
mode:
authorhjk <hjk@qt.io>2025-05-09 14:22:54 +0200
committerhjk <hjk@qt.io>2025-05-09 14:26:24 +0000
commit3704221bf2cba1305279b77a00ea43f010ed179b (patch)
tree68d229642ba98722c9f535092038ca2228664833 /src/plugins/git/commitdata.h
parentd5e0c1e5f71e9de53bb145ad0222bb8e6ff40681 (diff)
VCS: Replace more uses of QTextCodec with its name
QTextCodec is as part of Qt5Compat still deprecated, and may not survive a Qt 6 -> Qt 7 transition. This here reduces its direct use in some places. Change-Id: I71f1c0faf20b00125dee8eb4fb0cd5d7316ce369 Reviewed-by: Orgad Shaneh <orgads@gmail.com>
Diffstat (limited to 'src/plugins/git/commitdata.h')
-rw-r--r--src/plugins/git/commitdata.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/git/commitdata.h b/src/plugins/git/commitdata.h
index b83b36c2699..0760d1e4816 100644
--- a/src/plugins/git/commitdata.h
+++ b/src/plugins/git/commitdata.h
@@ -82,7 +82,7 @@ public:
CommitType commitType;
QString amendHash;
- QTextCodec *commitEncoding = nullptr;
+ QByteArray commitEncoding;
GitSubmitEditorPanelInfo panelInfo;
GitSubmitEditorPanelData panelData;
bool enablePush = false;