summaryrefslogtreecommitdiffabout
authorzautrix <zautrix>2005-04-08 22:39:42 (UTC)
committer zautrix <zautrix>2005-04-08 22:39:42 (UTC)
commitc4bab697d650c249cdff45b753b9e6df2a817877 (patch) (unidiff)
tree2726d1686d42e9d3e42aae780d766df94465281a
parent9667e6f2589d5b2080cca928814f382761f8dda6 (diff)
downloadkdepimpi-c4bab697d650c249cdff45b753b9e6df2a817877.zip
kdepimpi-c4bab697d650c249cdff45b753b9e6df2a817877.tar.gz
kdepimpi-c4bab697d650c249cdff45b753b9e6df2a817877.tar.bz2
alarmdialog fix
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--kalarmd/alarmdialog.cpp5
-rw-r--r--kalarmd/alarmdialog.h1
2 files changed, 6 insertions, 0 deletions
diff --git a/kalarmd/alarmdialog.cpp b/kalarmd/alarmdialog.cpp
index 53ff488..65073f6 100644
--- a/kalarmd/alarmdialog.cpp
+++ b/kalarmd/alarmdialog.cpp
@@ -138,4 +138,5 @@ AlarmDialog::AlarmDialog(QWidget *parent,const char *name)
138 connect (mSuspendButton, SIGNAL( clicked() ), this, SLOT (slotSuspend() ) ); 138 connect (mSuspendButton, SIGNAL( clicked() ), this, SLOT (slotSuspend() ) );
139 connect (okbut , SIGNAL( clicked() ), this, SLOT (slotOk() ) ); 139 connect (okbut , SIGNAL( clicked() ), this, SLOT (slotOk() ) );
140 connect (mSuspendSpin , SIGNAL( valueChanged ( int ) ), this, SLOT ( spinBoxChanged( int ) ) );
140#ifndef _WIN32_ 141#ifndef _WIN32_
141 if ( QFile::exists ( "/dev/sharp_led" ) ) 142 if ( QFile::exists ( "/dev/sharp_led" ) )
@@ -263,4 +264,8 @@ bool AlarmDialog::eventNotification( QString mess, int replay , QString fn, boo
263} 264}
264 265
266void AlarmDialog::spinBoxChanged( int )
267{
268 mSilent = true;
269}
265 270
266void AlarmDialog::playSound () 271void AlarmDialog::playSound ()
diff --git a/kalarmd/alarmdialog.h b/kalarmd/alarmdialog.h
index 896cf60..1e4636c 100644
--- a/kalarmd/alarmdialog.h
+++ b/kalarmd/alarmdialog.h
@@ -51,4 +51,5 @@ class AlarmDialog : public QDialog {
51 51
52 public slots: 52 public slots:
53 void spinBoxChanged( int );
53 void slotOk(); 54 void slotOk();
54 void slotSuspend(); 55 void slotSuspend();