summaryrefslogtreecommitdiffstats
path: root/kalarm/lib/timeedit.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kalarm/lib/timeedit.cpp')
-rw-r--r--kalarm/lib/timeedit.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/kalarm/lib/timeedit.cpp b/kalarm/lib/timeedit.cpp
index 01152fcee..170914922 100644
--- a/kalarm/lib/timeedit.cpp
+++ b/kalarm/lib/timeedit.cpp
@@ -37,13 +37,13 @@ TimeEdit::TimeEdit(TQWidget* parent, const char* name)
{
bool use12hour = KGlobal::locale()->use12Clock();
mSpinBox = new TimeSpinBox(!use12hour, this);
- mSpinBox->setFixedSize(mSpinBox->sizeHint());
+ mSpinBox->setFixedSize(mSpinBox->tqsizeHint());
connect(mSpinBox, TQT_SIGNAL(valueChanged(int)), TQT_SLOT(slotValueChanged(int)));
if (use12hour)
{
mAmPm = new ComboBox(this);
setAmPmCombo(1, 1); // add "am" and "pm" options to the combo box
- mAmPm->setFixedSize(mAmPm->sizeHint());
+ mAmPm->setFixedSize(mAmPm->tqsizeHint());
connect(mAmPm, TQT_SIGNAL(highlighted(int)), TQT_SLOT(slotAmPmChanged(int)));
}
}