diff options
Diffstat (limited to 'src/ClockTool.cc')
-rw-r--r-- | src/ClockTool.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ClockTool.cc b/src/ClockTool.cc index 6642985..95176a2 100644 --- a/src/ClockTool.cc +++ b/src/ClockTool.cc | |||
@@ -260,7 +260,7 @@ void ClockTool::themeReconfigured() { | |||
260 | translateSize(orientation(), new_width, new_height); | 260 | translateSize(orientation(), new_width, new_height); |
261 | if (new_width != m_button.width() || new_height != m_button.height()) { | 261 | if (new_width != m_button.width() || new_height != m_button.height()) { |
262 | resize(new_width, new_height); | 262 | resize(new_width, new_height); |
263 | resizeSig().notify(); | 263 | resizeSig().emit(); |
264 | } | 264 | } |
265 | 265 | ||
266 | } | 266 | } |
@@ -305,7 +305,7 @@ void ClockTool::updateTime() { | |||
305 | unsigned int new_width = m_theme->font().textWidth(time_string, time_string_len) + 2; | 305 | unsigned int new_width = m_theme->font().textWidth(time_string, time_string_len) + 2; |
306 | if (new_width > m_button.width()) { | 306 | if (new_width > m_button.width()) { |
307 | resize(new_width, m_button.height()); | 307 | resize(new_width, m_button.height()); |
308 | resizeSig().notify(); | 308 | resizeSig().emit(); |
309 | } | 309 | } |
310 | #else // dont have strftime so we have to set it to hour:minut | 310 | #else // dont have strftime so we have to set it to hour:minut |
311 | // sprintf(time_string, "%d:%d", ); | 311 | // sprintf(time_string, "%d:%d", ); |