projects
/
speedfreak
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Added routedialog to read route data from file.
[speedfreak]
/
Client
/
carmainwindow.cpp
diff --git
a/Client/carmainwindow.cpp
b/Client/carmainwindow.cpp
index
9ae252d
..
b6108af
100644
(file)
--- a/
Client/carmainwindow.cpp
+++ b/
Client/carmainwindow.cpp
@@
-427,7
+427,11
@@
void CarMainWindow::regUserToServer()
void CarMainWindow::on_drawRoutePushButton_clicked()
{
- myRoute->show();
+ QString routeFile = QString("route.txt");
+ if (myRoute->readRouteFromFile( routeFile) == true)
+ {
+ myRoute->show();
+ }
}
/**