server info: initialize m_timer

This commit is contained in:
Andrzej Rybczak
2014-09-03 14:00:35 +02:00
parent 529f27b9b0
commit 5d1f513b24

View File

@@ -32,6 +32,7 @@ using Global::MainStartY;
ServerInfo *myServerInfo;
ServerInfo::ServerInfo()
: m_timer(boost::posix_time::from_time_t(0))
{
SetDimensions();
w = NC::Scrollpad((COLS-itsWidth)/2, (MainHeight-itsHeight)/2+MainStartY, itsWidth, itsHeight, "MPD server info", Config.main_color, Config.window_border);