summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMontel Laurent <montel@kde.org>2016-11-15 12:32:00 (GMT)
committerMontel Laurent <montel@kde.org>2016-11-15 12:32:00 (GMT)
commit7e66f770f71828c5d42c430e0062deb711719e92 (patch)
tree5f6a9a35f19b94c985e34b18bf6162e6032106fe
parent0363a0af9d2d7a368df41a188d76a22115a47345 (diff)
Fix some clazy warningv16.11.80
-rw-r--r--src/kaevent.cpp8
1 files changed, 2 insertions, 6 deletions
diff --git a/src/kaevent.cpp b/src/kaevent.cpp
index 6e2495d..15bb865 100644
--- a/src/kaevent.cpp
+++ b/src/kaevent.cpp
@@ -1588,9 +1588,7 @@ Alarm::Ptr KAEventPrivate::initKCalAlarm(const Event::Ptr &event, int startOffse
}
if (display)
alarm->setCustomProperty(KACalendar::APPNAME, FONT_COLOUR_PROPERTY,
- QStringLiteral("%1;%2;%3").arg(mBgColour.name())
- .arg(mFgColour.name())
- .arg(mUseDefaultFont ? QString() : mFont.toString()));
+ QStringLiteral("%1;%2;%3").arg(mBgColour.name(), mFgColour.name(), mUseDefaultFont ? QString() : mFont.toString()));
break;
}
case DEFERRED_ALARM:
@@ -4762,9 +4760,7 @@ void KAEventPrivate::setAudioAlarm(const Alarm::Ptr &alarm) const
alarm->setAudioAlarm(mAudioFile); // empty for a beep or for speaking
if (mSoundVolume >= 0)
alarm->setCustomProperty(KACalendar::APPNAME, VOLUME_PROPERTY,
- QStringLiteral("%1;%2;%3;%4").arg(QString::number(mSoundVolume, 'f', 2))
- .arg(QString::number(mFadeVolume, 'f', 2))
- .arg(mFadeSeconds));
+ QStringLiteral("%1;%2;%3;%4").arg(QString::number(mSoundVolume, 'f', 2), QString::number(mFadeVolume, 'f', 2), QString::number(mFadeSeconds)));
}
/******************************************************************************