[libraries/ktextaddons/2.1] textautogeneratetext/plugins/plugincommon: Add debug category here
Laurent Montel <[email protected]>
| Newsgroups | gmane.comp.kde.cvs |
|---|---|
| Message-ID | <[email protected]> |
Git commit 91655691001bfa6779baa4f31f9ebcd6a0c2ca9e by Laurent Montel.
Committed on 21/07/2026 at 11:26.
Pushed by mlaurent into branch '2.1'.
Add debug category here
M +1 -0 textautogeneratetext/plugins/plugincommon/plugincommonsettings.cpp
https://invent.kde.org/libraries/ktextaddons/-/commit/91655691001bfa6779baa4f31f9ebcd6a0c2ca9e
diff --git a/textautogeneratetext/plugins/plugincommon/plugincommonsettings.cpp b/textautogeneratetext/plugins/plugincommon/plugincommonsettings.cpp
index 1d179bc13..018cf747e 100644
--- a/textautogeneratetext/plugins/plugincommon/plugincommonsettings.cpp
+++ b/textautogeneratetext/plugins/plugincommon/plugincommonsettings.cpp
@@ -67,6 +67,7 @@ PluginCommonSettings::ShareNameType PluginCommonSettings::convertShareNameTypeFr
} else if (str == "FullName"_L1) {
return PluginCommonSettings::ShareNameType::FullName;
}
+ qCWarning(AUTOGENERATETEXT_PLUGINCOMMON_LOG) << "Invalid ShareNameType: " << str;
return PluginCommonSettings::ShareNameType::DoNotShare;
}