summaryrefslogtreecommitdiffabout
Side-by-side diff
Diffstat (more/less context) (show whitespace changes)
-rw-r--r--kaddressbook/mainembedded.cpp5
-rw-r--r--kmicromail/main.cpp3
-rw-r--r--korganizer/kolistview.cpp1
-rw-r--r--korganizer/koprefs.cpp10
-rw-r--r--korganizer/main.cpp3
-rw-r--r--libkdepim/externalapphandler.cpp10
-rw-r--r--libkdepim/externalapphandler.h2
-rw-r--r--libkdepim/kpimglobalprefs.cpp3
-rw-r--r--microkde/kdeui/klistview.cpp5
-rw-r--r--pwmanager/pwmanager/main.cpp2
-rw-r--r--pwmanager/pwmanager/pwm.cpp2
11 files changed, 26 insertions, 20 deletions
diff --git a/kaddressbook/mainembedded.cpp b/kaddressbook/mainembedded.cpp
index a8816f9..547d208 100644
--- a/kaddressbook/mainembedded.cpp
+++ b/kaddressbook/mainembedded.cpp
@@ -80,5 +80,5 @@ int main( int argc, char **argv )
- {
+
KPimGlobalPrefs::instance()->setGlobalConfig();
- }
+
#ifndef DESKTOP_VERSION
@@ -95,2 +95,3 @@ int main( int argc, char **argv )
+ KPimGlobalPrefs::instance()->writeConfig();
}
diff --git a/kmicromail/main.cpp b/kmicromail/main.cpp
index 8947ff8..8341c5a 100644
--- a/kmicromail/main.cpp
+++ b/kmicromail/main.cpp
@@ -21,2 +21,3 @@
#include "koprefs.h"
+#include <libkdepim/kpimglobalprefs.h>
void dumpMissing();
@@ -60,2 +61,4 @@ int main( int argc, char **argv ) {
dumpMissing();
+
+ KPimGlobalPrefs::instance()->writeConfig();
return rv;
diff --git a/korganizer/kolistview.cpp b/korganizer/kolistview.cpp
index d3aa650..3d4acb7 100644
--- a/korganizer/kolistview.cpp
+++ b/korganizer/kolistview.cpp
@@ -1008,2 +1008,3 @@ KOListViewListView::KOListViewListView(KOListView * lv )
#endif
+ mYMousePos = -1000;
setSelectionMode( QListView::Multi );
diff --git a/korganizer/koprefs.cpp b/korganizer/koprefs.cpp
index f44debc..8dca3ae 100644
--- a/korganizer/koprefs.cpp
+++ b/korganizer/koprefs.cpp
@@ -169,13 +169,3 @@ KOPrefs::KOPrefs() :
-// KPrefs::setCurrentGroup("SyncProfiles");
-// addItemString("LocalMachineName",&mLocalMachineName, "undefined");
-// addItemStringList("SyncProfileNames",&mSyncProfileNames);
-// addItemStringList("ExternSyncProfiles",&mExternSyncProfileNames);
-
KPrefs::setCurrentGroup("RemoteSyncing");
-// addItemBool("UsePasswd",&mUsePassWd,false);
-// addItemBool("WriteBackFile",&mWriteBackFile,true);
-// addItemBool("WriteBackExistingOnly",&mWriteBackExistingOnly,false);
-// addItemBool("AskForPreferences",&mAskForPreferences,true);
-// addItemBool("ShowSyncSummary",&mShowSyncSummary,true);
addItemString("ActiveSyncPort",&mActiveSyncPort,"9197" );
diff --git a/korganizer/main.cpp b/korganizer/main.cpp
index 4194d12..2481ca4 100644
--- a/korganizer/main.cpp
+++ b/korganizer/main.cpp
@@ -21,2 +21,3 @@
#include "mainwindow.h"
+#include <libkdepim/kpimglobalprefs.h>
void dumpMissing();
@@ -103,2 +104,4 @@ int main( int argc, char **argv )
dumpMissing();
+
+ KPimGlobalPrefs::instance()->writeConfig();
}
diff --git a/libkdepim/externalapphandler.cpp b/libkdepim/externalapphandler.cpp
index 779b20e..9085673 100644
--- a/libkdepim/externalapphandler.cpp
+++ b/libkdepim/externalapphandler.cpp
@@ -63,3 +63,3 @@ QCopTransferItem::QCopTransferItem(int usedSourceParameters, const QString& sour
if (_usedSourceParameters == 0)
- _sourceMessageParameters = "(QString,QString)";
+ _sourceMessageParameters = "QString,QString)";
else if (_usedSourceParameters == 1)
@@ -259,2 +259,6 @@ bool QCopMapTransferItem::appMessage( const QCString& cmsg, const QByteArray& da
+QCopListTransferItem::~QCopListTransferItem()
+{
+
+}
@@ -378,2 +382,6 @@ ExternalAppHandler::~ExternalAppHandler()
{
+ delete mNameEmailUidListFromKAPITransfer;
+ //delete mFindByEmailFromKAPITransfer;
+ delete mDisplayDetails;
+ delete mBirthdayListFromKAPITransfer;
}
diff --git a/libkdepim/externalapphandler.h b/libkdepim/externalapphandler.h
index 4c6f1ea..6f5d345 100644
--- a/libkdepim/externalapphandler.h
+++ b/libkdepim/externalapphandler.h
@@ -102,3 +102,3 @@ class QCopListTransferItem : public QCopTransferItem
QCopListTransferItem(int usedSourceParameters, const QString& sourceMessage, const QString& targetChannel, const QString& targetMessage);
-
+ ~QCopListTransferItem();
bool sendMessageToSource(const QString& uid, const QStringList& list1, const QStringList& list2, const QStringList& list3, const QStringList& list4, const QStringList& list5, const QStringList& list6);
diff --git a/libkdepim/kpimglobalprefs.cpp b/libkdepim/kpimglobalprefs.cpp
index 3771569..0fdc3e4 100644
--- a/libkdepim/kpimglobalprefs.cpp
+++ b/libkdepim/kpimglobalprefs.cpp
@@ -146,2 +146,3 @@ void KPimGlobalPrefs::setGlobalConfig()
mLocaleDict = new QDict<QString>;
+ mLocaleDict->setAutoDelete( true );
QString end = "{ \"\",\"\" }";
@@ -190,4 +191,2 @@ KPimGlobalPrefs::~KPimGlobalPrefs()
qDebug("Whats this? Error in KPimGlobalPrefs::~KPimGlobalPrefs() ?");
- //qDebug("KPimGlobalPrefs::~KPimGlobalPrefs() ");
- writeConfig();
if ( mLocaleDict )
diff --git a/microkde/kdeui/klistview.cpp b/microkde/kdeui/klistview.cpp
index 5b50ba9..3c809b4 100644
--- a/microkde/kdeui/klistview.cpp
+++ b/microkde/kdeui/klistview.cpp
@@ -96,3 +96,2 @@ public:
selectedUsingMouse(false),
- showContextMenusOnPress(true),
itemsRenameable (false),
@@ -113,4 +112,4 @@ public:
selectionMode (Single),
-//US contextMenuKey (KGlobalSettings::contextMenuKey()),
-//US showContextMenusOnPress (KGlobalSettings::showContextMenusOnPress()),
+ contextMenuKey ( Qt::Key_Menu ),//KGlobalSettings::contextMenuKey()),
+ showContextMenusOnPress (true),//showContextMenusOnPress (KGlobalSettings::showContextMenusOnPress()),
mDropVisualizerWidth (4)
diff --git a/pwmanager/pwmanager/main.cpp b/pwmanager/pwmanager/main.cpp
index 3f2d055..81e257f 100644
--- a/pwmanager/pwmanager/main.cpp
+++ b/pwmanager/pwmanager/main.cpp
@@ -206,3 +206,3 @@ int main(int argc, char *argv[])
a.exec();
-
+ KPimGlobalPrefs::instance()->writeConfig();
}
diff --git a/pwmanager/pwmanager/pwm.cpp b/pwmanager/pwmanager/pwm.cpp
index b7b5307..d92c90d 100644
--- a/pwmanager/pwmanager/pwm.cpp
+++ b/pwmanager/pwmanager/pwm.cpp
@@ -174,2 +174,3 @@ PwM::PwM(PwMInit *_init, PwMDoc *doc,
{
+ syncManager = 0;
virgin = !virginity;
@@ -201,2 +202,3 @@ PwM::~PwM()
delete view;
+ delete syncManager;
}