Commit 826a43d9 authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

Make it static

parent 575e934a
......@@ -97,7 +97,8 @@ QByteArray CompatibilityAttribute::type() const
QByteArray CompatibilityAttribute::name()
{
return "KAlarmCompatibility";
static const QByteArray sType( "KAlarmCompatibility" );
return sType;
}
QByteArray CompatibilityAttribute::serialized() const
......
......@@ -74,7 +74,8 @@ void EventAttribute::setCommandError(KAEvent::CmdErrType err)
QByteArray EventAttribute::type() const
{
return "KAlarmEvent";
static const QByteArray sType( "KAlarmEvent" );
return sType;
}
EventAttribute* EventAttribute::clone() const
......
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