Skip to content

Commit bdf26ff

Browse files
committed
Corrected a few bugs
1 parent c167f53 commit bdf26ff

File tree

3 files changed

+2
-12
lines changed

3 files changed

+2
-12
lines changed

mainwindow.cpp

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -122,14 +122,6 @@ MainWindow::~MainWindow()
122122
delete microwave;
123123
}
124124

125-
void MainWindow::on_clockButton_clicked() {
126-
127-
}
128-
129-
void MainWindow::on_defrostButton_clicked() {
130-
131-
}
132-
133125
void MainWindow::changeDisplay(){
134126
qDebug() << "changeDisplay: On passe au state s1" << microwave->configuration().contains(s1);
135127
qDebug() << "changeDisplay: On passe au state stop" << microwave->configuration().contains(stopState);
@@ -228,7 +220,7 @@ void MainWindow::slide(int value){
228220

229221
void MainWindow::saveTime(){
230222
currentTime = QTime::currentTime();
231-
ui->dial->setRange(0, 23);
223+
ui->doubleDot->setText(":");
232224
}
233225

234226
void MainWindow::resetLabels(){

mainwindow.h

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -74,8 +74,6 @@ private slots:
7474

7575
void stopButtonClicked();
7676
void startButtonClicked();
77-
void on_clockButton_clicked();
78-
void on_defrostButton_clicked();
7977
void changeDisplay();
8078

8179

mainwindow.ui

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
</rect>
1212
</property>
1313
<property name="windowTitle">
14-
<string>MainWindow</string>
14+
<string>Microwave</string>
1515
</property>
1616
<widget class="QWidget" name="centralwidget">
1717
<layout class="QVBoxLayout" name="verticalLayout_2">

0 commit comments

Comments
 (0)