Diffstat (limited to 'inputmethods/dasher/QtDasherScreen.cc') (more/less context) (show whitespace changes)
-rw-r--r-- | inputmethods/dasher/QtDasherScreen.cc | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/inputmethods/dasher/QtDasherScreen.cc b/inputmethods/dasher/QtDasherScreen.cc index 2179cfb..b8a554c 100644 --- a/inputmethods/dasher/QtDasherScreen.cc +++ b/inputmethods/dasher/QtDasherScreen.cc | |||
@@ -70,26 +70,24 @@ long QtDasherScreen::get_time() | |||
70 | 70 | ||
71 | s_now = tv.tv_sec-1054487600; | 71 | s_now = tv.tv_sec-1054487600; |
72 | 72 | ||
73 | ms_now = tv.tv_usec / 1000; | 73 | ms_now = tv.tv_usec / 1000; |
74 | 74 | ||
75 | return( long(s_now*1000 + ms_now) ); | 75 | return( long(s_now*1000 + ms_now) ); |
76 | 76 | ||
77 | } | 77 | } |
78 | 78 | ||
79 | QtDasherScreen::~QtDasherScreen() | 79 | QtDasherScreen::~QtDasherScreen() |
80 | { | 80 | { |
81 | delete painter; | 81 | delete painter; |
82 | delete interface; | ||
83 | delete edit; | ||
84 | } | 82 | } |
85 | 83 | ||
86 | QColor QtDasherScreen::getColor(int Color, const Opts::ColorSchemes ColorScheme) const | 84 | QColor QtDasherScreen::getColor(int Color, const Opts::ColorSchemes ColorScheme) const |
87 | { | 85 | { |
88 | switch (ColorScheme) { | 86 | switch (ColorScheme) { |
89 | case Dasher::Opts::Nodes1: | 87 | case Dasher::Opts::Nodes1: |
90 | switch (Color) { | 88 | switch (Color) { |
91 | case 0: return QColor (180, 245, 180); | 89 | case 0: return QColor (180, 245, 180); |
92 | case 1: return QColor (160, 200, 160); | 90 | case 1: return QColor (160, 200, 160); |
93 | case 2: return QColor (0, 255, 255); | 91 | case 2: return QColor (0, 255, 255); |
94 | default: abort (); | 92 | default: abort (); |
95 | } | 93 | } |