Diffstat (limited to 'noncore/tools/clock/clock.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/tools/clock/clock.cpp | 19 |
1 files changed, 8 insertions, 11 deletions
diff --git a/noncore/tools/clock/clock.cpp b/noncore/tools/clock/clock.cpp index 9b324e0..325a307 100644 --- a/noncore/tools/clock/clock.cpp +++ b/noncore/tools/clock/clock.cpp | |||
@@ -104,2 +104,7 @@ AlarmDlg::AlarmDlg(QWidget *parent, const char *name, bool modal, | |||
104 | { | 104 | { |
105 | // Increase font size to make it a little more readable | ||
106 | QFont f(font()); | ||
107 | f.setPointSize((int)(f.pointSize() * 1.7)); | ||
108 | setFont(f); | ||
109 | |||
105 | setCaption( tr("Clock") ); | 110 | setCaption( tr("Clock") ); |
@@ -108,7 +113,7 @@ AlarmDlg::AlarmDlg(QWidget *parent, const char *name, bool modal, | |||
108 | 113 | ||
109 | connect(snoozeTime, SIGNAL(valueChanged(int)), this, | 114 | connect(cmdSnooze, SIGNAL(clicked()), this, SLOT(checkSnooze())); |
110 | SLOT(changePrompt(int))); | 115 | connect(cmdOk, SIGNAL(clicked()), this, SLOT(accept())); |
111 | connect(cmdOk, SIGNAL(clicked()), this, SLOT(checkSnooze())); | ||
112 | } | 116 | } |
113 | 117 | ||
118 | |||
114 | // | 119 | // |
@@ -146,10 +151,2 @@ AlarmDlg::checkSnooze(void) | |||
146 | 151 | ||
147 | void | ||
148 | AlarmDlg::changePrompt(int mins) | ||
149 | { | ||
150 | cmdOk->setText(mins > 0 ? tr("Snooze") : tr("Close") ); | ||
151 | } | ||
152 | |||
153 | |||
154 | |||
155 | Clock::Clock( QWidget * parent, const char *, WFlags f ) | 152 | Clock::Clock( QWidget * parent, const char *, WFlags f ) |