Ticket #1795: httpstatus.diff

File httpstatus.diff, 648 bytes (added by bjorn@…, 19 years ago)
  • programs/mythbackend/httpstatus.cpp

     
    11#include "httpstatus.h"
    22
    33#include <iostream>
    4 using namespace std;
    54
    65#include <qregexp.h>
    76#include <qstringlist.h>
     
    743742
    744743        if (!e.isNull())
    745744        {
    746             std::string temperature = e.attribute( "temperature" , "0" );
     745            QString temperature = e.attribute( "temperature" , "0" );
    747746
    748747            os << "      Current CPU temperature: "
    749748               << temperature