summaryrefslogtreecommitdiffabout
path: root/libkdepim/ksyncprefsdialog.cpp
authorulf69 <ulf69>2004-10-02 00:19:45 (UTC)
committer ulf69 <ulf69>2004-10-02 00:19:45 (UTC)
commitba1176743a536e19bb8b9d68b1c0c0023a0f3101 (patch) (side-by-side diff)
tree352e97763d1b90eca9884651ab5533ef8ae8affc /libkdepim/ksyncprefsdialog.cpp
parent7810fe355bd75c83bcdaed646cd1dde8d3c94fcb (diff)
downloadkdepimpi-ba1176743a536e19bb8b9d68b1c0c0023a0f3101.zip
kdepimpi-ba1176743a536e19bb8b9d68b1c0c0023a0f3101.tar.gz
kdepimpi-ba1176743a536e19bb8b9d68b1c0c0023a0f3101.tar.bz2
fixed a crash when pressing return(enter) in the syncprofilenames combobox
Diffstat (limited to 'libkdepim/ksyncprefsdialog.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r--libkdepim/ksyncprefsdialog.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/libkdepim/ksyncprefsdialog.cpp b/libkdepim/ksyncprefsdialog.cpp
index 6e6e631..28aac45 100644
--- a/libkdepim/ksyncprefsdialog.cpp
+++ b/libkdepim/ksyncprefsdialog.cpp
@@ -134,2 +134,3 @@ void KSyncPrefsDialog::setupSyncAlgTab()
mProfileBox->setEditable ( true );
+ mProfileBox->setInsertionPolicy(QComboBox::NoInsertion);
connect ( mProfileBox, SIGNAL(activated ( int ) ), this, SLOT (profileChanged( int ) ) );
@@ -349,3 +350,3 @@ void KSyncPrefsDialog::profileChanged( int item )
{
- //qDebug("KSyncPrefsDialog::profileChanged %d ", item );
+ //qDebug("KSyncPrefsDialog::profileChanged before %d, count %d ", item, mProfileBox->count() );
KSyncProfile* prof;