summaryrefslogtreecommitdiff
path: root/libopie2
Side-by-side diff
Diffstat (limited to 'libopie2') (more/less context) (ignore whitespace changes)
-rw-r--r--libopie2/opiepim/core/opimrecurrence.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/libopie2/opiepim/core/opimrecurrence.cpp b/libopie2/opiepim/core/opimrecurrence.cpp
index 98bd647..4b1d886 100644
--- a/libopie2/opiepim/core/opimrecurrence.cpp
+++ b/libopie2/opiepim/core/opimrecurrence.cpp
@@ -68,13 +68,13 @@ struct OPimRecurrence::Data : public QShared {
OPimRecurrence::OPimRecurrence() {
data = new Data;
}
OPimRecurrence::OPimRecurrence( const QMap<int, QString>& map )
{
- OPimRecurrence();
+ data = new Data;
fromMap( map );
}
OPimRecurrence::OPimRecurrence( const OPimRecurrence& rec)
: data( rec.data )