mirror of https://github.com/vitalif/phantomjs
Fixed type mismatch for this Constructor Parameter.
parent
e7ab5e31da
commit
e5cd882e6a
|
@ -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)
|
||||
|
|
|
@ -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:
|
||||
|
|
Loading…
Reference in New Issue