summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Jarvie <djarvie@kde.org>2016-10-30 18:44:19 (GMT)
committerDavid Jarvie <djarvie@kde.org>2016-10-30 18:44:42 (GMT)
commitb2e40dd1edc4ab942fd64bc2fd60750959dd65c8 (patch)
tree0c8cf1e9573c0c9310b63d3f4efb15d01175ec72
parent3b840b3260599b03b184c1d95c957e6a2bffc8d6 (diff)
Formatting
-rw-r--r--resources/kalarm/kalarm/kalarmresource.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/resources/kalarm/kalarm/kalarmresource.cpp b/resources/kalarm/kalarm/kalarmresource.cpp
index d901e86..f1d45f3 100644
--- a/resources/kalarm/kalarm/kalarmresource.cpp
+++ b/resources/kalarm/kalarm/kalarmresource.cpp
@@ -197,7 +197,7 @@ bool KAlarmResource::readFromFile(const QString &fileName)
void KAlarmResource::checkFileCompatibility(const Collection &collection, bool createAttribute)
{
if (collection.isValid()
- && collection.hasAttribute<CompatibilityAttribute>()) {
+ && collection.hasAttribute<CompatibilityAttribute>()) {
// Update our note of the calendar version and compatibility
const CompatibilityAttribute *attr = collection.attribute<CompatibilityAttribute>();
mCompatibility = attr->compatibility();
@@ -205,8 +205,8 @@ void KAlarmResource::checkFileCompatibility(const Collection &collection, bool c
createAttribute = false;
}
if (mHaveReadFile
- && (createAttribute
- || mFileCompatibility != mCompatibility || mFileVersion != mVersion)) {
+ && (createAttribute
+ || mFileCompatibility != mCompatibility || mFileVersion != mVersion)) {
// The actual file's version and compatibility are different from
// those in the Akonadi database, so update the database attributes.
mCompatibility = mFileCompatibility;