author | zautrix <zautrix> | 2005-02-21 13:34:06 (UTC) |
---|---|---|
committer | zautrix <zautrix> | 2005-02-21 13:34:06 (UTC) |
commit | ce261d6197d319d67f7b275813449f36ce42a730 (patch) (side-by-side diff) | |
tree | 6221eef1d00a918127377883eaf76f8162db6772 /libkdepim/kdateedit.cpp | |
parent | b4ebc9c227f986369fe9b0193158f3893a29df08 (diff) | |
download | kdepimpi-ce261d6197d319d67f7b275813449f36ce42a730.zip kdepimpi-ce261d6197d319d67f7b275813449f36ce42a730.tar.gz kdepimpi-ce261d6197d319d67f7b275813449f36ce42a730.tar.bz2 |
default button fixes
-rw-r--r-- | libkdepim/kdateedit.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libkdepim/kdateedit.cpp b/libkdepim/kdateedit.cpp index 946fc0d..3d9e690 100644 --- a/libkdepim/kdateedit.cpp +++ b/libkdepim/kdateedit.cpp @@ -78,16 +78,17 @@ KDateEdit::KDateEdit(QWidget *parent, const char *name, bool withoutDP ) mDatePicker = new KDatePicker(mDateFrame,QDate::currentDate()); connect(mDatePicker,SIGNAL(dateEntered(QDate)),SLOT(setDate(QDate))); connect(mDatePicker,SIGNAL(dateEntered(QDate)),SIGNAL(dateChanged(QDate))); connect(mDatePicker,SIGNAL(dateSelected(QDate)),SLOT(setDate(QDate))); connect(mDatePicker,SIGNAL(dateSelected(QDate)),SIGNAL(dateChanged(QDate))); connect(mDatePicker,SIGNAL(dateSelected(QDate)),mDateFrame,SLOT(hide())); connect(mDateButton,SIGNAL(clicked()),SLOT(toggleDatePicker())); mDateButton->setFocusPolicy( QWidget::NoFocus ); + mDateButton->setAutoDefault( false ); //mDateFrame->resize( 400, 300 ); } connect(mDateEdit,SIGNAL(returnPressed()),SLOT(lineEnterPressed())); connect(mDateEdit,SIGNAL(textChanged(const QString &)), SLOT(textChanged(const QString &))); // Create the keyword list. This will be used to match against when the user |