forked from qt-creator/qt-creator
ProjectExplorer: Add RunControl::setQmlChannel()
There's no working portsgatherer for Android yet, need a way to fill it "the old way". Change-Id: I5cd7dfa6a1a31a2cbcb41af0914d7b7d82c9c94e Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
This commit is contained in:
@@ -688,6 +688,11 @@ QUrl RunControl::qmlChannel() const
|
|||||||
return d->qmlChannel;
|
return d->qmlChannel;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
void RunControl::setQmlChannel(const QUrl &channel)
|
||||||
|
{
|
||||||
|
d->qmlChannel = channel;
|
||||||
|
}
|
||||||
|
|
||||||
void RunControl::requestPerfChannel()
|
void RunControl::requestPerfChannel()
|
||||||
{
|
{
|
||||||
d->enablePortsGatherer();
|
d->enablePortsGatherer();
|
||||||
|
@@ -253,6 +253,8 @@ public:
|
|||||||
void requestQmlChannel();
|
void requestQmlChannel();
|
||||||
bool usesQmlChannel() const;
|
bool usesQmlChannel() const;
|
||||||
QUrl qmlChannel() const;
|
QUrl qmlChannel() const;
|
||||||
|
// FIXME: Don't use. Convert existing users to portsgatherer.
|
||||||
|
void setQmlChannel(const QUrl &channel);
|
||||||
|
|
||||||
void requestPerfChannel();
|
void requestPerfChannel();
|
||||||
bool usesPerfChannel() const;
|
bool usesPerfChannel() const;
|
||||||
|
Reference in New Issue
Block a user