projects
/
speedfreak
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
2353164
)
Bug fixed in carmainwindow.
author
Janne Änäkkälä
<Janne_anakkala@hotmail.com>
Tue, 9 Mar 2010 09:03:12 +0000
(11:03 +0200)
committer
Janne Änäkkälä
<Janne_anakkala@hotmail.com>
Tue, 9 Mar 2010 09:03:12 +0000
(11:03 +0200)
Client/carmainwindow.cpp
patch
|
blob
|
history
diff --git
a/Client/carmainwindow.cpp
b/Client/carmainwindow.cpp
index
47859e1
..
0371be1
100644
(file)
--- a/
Client/carmainwindow.cpp
+++ b/
Client/carmainwindow.cpp
@@
-40,12
+40,11
@@
CarMainWindow::CarMainWindow(QWidget *parent):QMainWindow(parent), ui(new Ui::Ca
accelerometer = new Accelerometer();
accelerometer->setSampleRate(100);
accelerometer = new Accelerometer();
accelerometer->setSampleRate(100);
- accelerometer->start();
measures = new Measures();
this->initializeMeasures();
measures = new Measures();
this->initializeMeasures();
- timer->setInterval(1000);
+ timer->setInterval(300);
connect(this->timer, SIGNAL(timeout()), this, SLOT(after_timeout()));
connect(this->timer, SIGNAL(timeout()), this, SLOT(after_timeout()));
@@
-106,6
+105,7
@@
void CarMainWindow::on_autoStartButton_clicked()
//measure = NULL;
//measure = new MeasureDialog();
// connect(measure, SIGNAL(speedAchieved()), this, SLOT(openResultView()));
//measure = NULL;
//measure = new MeasureDialog();
// connect(measure, SIGNAL(speedAchieved()), this, SLOT(openResultView()));
+ accelerometer->start();
timer->start();
// Show measure dialog.
//measure->show();
timer->start();
// Show measure dialog.
//measure->show();