projects
/
yandex-traffic
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Make settings a singleton.
[yandex-traffic]
/
mainwidget.cpp
diff --git
a/mainwidget.cpp
b/mainwidget.cpp
index
2a97dbc
..
f4aa592
100644
(file)
--- a/
mainwidget.cpp
+++ b/
mainwidget.cpp
@@
-24,7
+24,7
@@
MainWidget::MainWidget ()
_traffic = new Traffic;
_regions = new RegionsTable;
- _settings = new Settings;
+ _settings = Settings::instance ();
QHBoxLayout *layout = new QHBoxLayout;
layout->addWidget (_light);