Skip to content

Fix MSVC build

Carl Schwan requested to merge work/carl/fix-msvc-build into master

MSVC doesn't like that two static variable in two different anonymous namespace have the same name, so rename one of them.

See the following compile error:

src/ksieveui/autocreatescripts/autocreatescriptdialog.cpp(23): error C2374: 'anonymous-namespace'::myAutoCreateScriptDialogGroupName': redefinition; multiple initialization src/ksieveui/autocreatescripts/sieveeditorgraphicalmodewidget.cpp(26): note: see declaration of 'anonymous-namespace'::myAutoCreateScriptDialogGroupName'

Merge request reports