diff options
Diffstat (limited to 'src/ClockTool.cc')
-rw-r--r-- | src/ClockTool.cc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/ClockTool.cc b/src/ClockTool.cc index 7c688cc..6b23ee7 100644 --- a/src/ClockTool.cc +++ b/src/ClockTool.cc | |||
@@ -249,6 +249,7 @@ void ClockTool::updateTime() { | |||
249 | if (!strftime(time_string, 255, m_timeformat->c_str(), time_type) || m_button.text() == time_string) | 249 | if (!strftime(time_string, 255, m_timeformat->c_str(), time_type) || m_button.text() == time_string) |
250 | return; | 250 | return; |
251 | m_button.setText(time_string); | 251 | m_button.setText(time_string); |
252 | m_button.parentMoved(); | ||
252 | #else // dont have strftime so we have to set it to hour:minut | 253 | #else // dont have strftime so we have to set it to hour:minut |
253 | // sprintf(time_string, "%d:%d", ); | 254 | // sprintf(time_string, "%d:%d", ); |
254 | #endif // HAVE_STRFTIME | 255 | #endif // HAVE_STRFTIME |