server info: initialize m_timer
This commit is contained in:
@@ -32,6 +32,7 @@ using Global::MainStartY;
|
|||||||
ServerInfo *myServerInfo;
|
ServerInfo *myServerInfo;
|
||||||
|
|
||||||
ServerInfo::ServerInfo()
|
ServerInfo::ServerInfo()
|
||||||
|
: m_timer(boost::posix_time::from_time_t(0))
|
||||||
{
|
{
|
||||||
SetDimensions();
|
SetDimensions();
|
||||||
w = NC::Scrollpad((COLS-itsWidth)/2, (MainHeight-itsHeight)/2+MainStartY, itsWidth, itsHeight, "MPD server info", Config.main_color, Config.window_border);
|
w = NC::Scrollpad((COLS-itsWidth)/2, (MainHeight-itsHeight)/2+MainStartY, itsWidth, itsHeight, "MPD server info", Config.main_color, Config.window_border);
|
||||||
|
|||||||
Reference in New Issue
Block a user