summaryrefslogtreecommitdiffabout
Side-by-side diff
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--korganizer/koprefs.cpp1
-rw-r--r--korganizer/koprefs.h12
2 files changed, 7 insertions, 6 deletions
diff --git a/korganizer/koprefs.cpp b/korganizer/koprefs.cpp
index 9147af3..5078c57 100644
--- a/korganizer/koprefs.cpp
+++ b/korganizer/koprefs.cpp
@@ -462,2 +462,3 @@ void KOPrefs::usrReadConfig()
kkf->mFileName = QDir::convertSeparators( locateLocal( "data", "korganizer/mycalendar.ics" ) );
+ kkf->isReadOnly = false;
}
diff --git a/korganizer/koprefs.h b/korganizer/koprefs.h
index 70da096..94bdd33 100644
--- a/korganizer/koprefs.h
+++ b/korganizer/koprefs.h
@@ -54,2 +54,6 @@ class KopiCalendarFile : public QObject
isReadOnly = false;
+ mErrorOnLoad = false;
+ isRelative = false;
+ mCalNumber = 0;
+ mDefaultColor = Qt::red;
mName = "Calendar";
@@ -57,6 +61,2 @@ class KopiCalendarFile : public QObject
mSavedFileName = "icalfile.ics";
- mCalNumber = 0;
- mDefaultColor = Qt::red;
- mErrorOnLoad = false;
- isRelative = false;
}
@@ -67,2 +67,4 @@ class KopiCalendarFile : public QObject
bool mErrorOnLoad;
+ bool isRelative;
+ int mCalNumber;
QString mName;
@@ -70,4 +72,2 @@ class KopiCalendarFile : public QObject
QString mSavedFileName;
- bool isRelative;
- int mCalNumber;
QColor mDefaultColor;