Commit 2dfdbf39 authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

Q_GLOBAL_STATIC

parent 26f53c98
......@@ -237,7 +237,7 @@ bool isUTC(const QString& localFile)
namespace CalEvent
{
// Struct to contain static strings, to allow use of K_GLOBAL_STATIC
// Struct to contain static strings, to allow use of Q_GLOBAL_STATIC
// to delete them on program termination.
struct StaticStrings
{
......@@ -266,7 +266,7 @@ struct StaticStrings
// Old KAlarm format identifiers
const QString TEMPLATE_UID;
};
K_GLOBAL_STATIC(StaticStrings, staticStrings)
Q_GLOBAL_STATIC(StaticStrings, staticStrings)
/******************************************************************************
* Convert a unique ID to indicate that the event is in a specified calendar file.
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment