Skip to content

Commit

Permalink
Whitespace fixes.
Browse files Browse the repository at this point in the history
  • Loading branch information
daniel-kristjansson committed Nov 17, 2012
1 parent 2e11c6a commit f28e5e6
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions mythplugins/mythzoneminder/mythzoneminder/zmclient.cpp
Expand Up @@ -46,12 +46,12 @@ class ZMClient *ZMClient::get(void)
return m_zmclient;
}

bool ZMClient::setupZMClient(void)
bool ZMClient::setupZMClient(void)
{
QString zmserver_host;
int zmserver_port;

if (m_zmclient)
if (m_zmclient)
{
delete m_zmclient;
m_zmclient = NULL;
Expand All @@ -62,7 +62,7 @@ bool ZMClient::setupZMClient(void)
zmserver_port = gCoreContext->GetNumSetting("ZoneMinderServerPort", 6548);

class ZMClient *zmclient = ZMClient::get();
if (zmclient->connectToHost(zmserver_host, zmserver_port) == false)
if (zmclient->connectToHost(zmserver_host, zmserver_port) == false)
{
delete m_zmclient;
m_zmclient = NULL;
Expand Down Expand Up @@ -114,7 +114,7 @@ bool ZMClient::connectToHost(const QString &lhostname, unsigned int lport)

if (!m_bConnected)
{
ShowOkPopup(tr("Cannot connect to the mythzmserver - Is it running? "
ShowOkPopup(tr("Cannot connect to the mythzmserver - Is it running? "
"Have you set the correct IP and port in the settings?"));
}

Expand Down Expand Up @@ -150,7 +150,7 @@ bool ZMClient::sendReceiveStringList(QStringList &strList)
return false;
}

// try to resend
// try to resend
m_socket->writeStringList(strList);
ok = m_socket->readStringList(strList, false);
if (!ok)
Expand Down Expand Up @@ -322,7 +322,7 @@ void ZMClient::getMonitorStatus(vector<Monitor*> *monitorList)
}
}

void ZMClient::getEventList(const QString &monitorName, bool oldestFirst,
void ZMClient::getEventList(const QString &monitorName, bool oldestFirst,
QString date, vector<Event*> *eventList)
{
eventList->clear();
Expand Down

0 comments on commit f28e5e6

Please sign in to comment.