Fixed type mismatch for this Constructor Parameter.

1.5
Ivan De Marino 2012-01-04 17:06:55 +00:00
parent e7ab5e31da
commit e5cd882e6a
2 changed files with 2 additions and 2 deletions

View File

@ -62,7 +62,7 @@ static void *callback(mg_event event,
}
}
WebServer::WebServer(QObject *parent, const Config *config)
WebServer::WebServer(QObject *parent, Config *config)
: QObject(parent)
, m_config(config)
, m_ctx(0)

View File

@ -53,7 +53,7 @@ class WebServer : public QObject
Q_PROPERTY(QString port READ port);
public:
WebServer(QObject *parent, const Config *config);
WebServer(QObject *parent, Config *config);
virtual ~WebServer();
public slots: