forked from qt-creator/qt-creator
Provide functionality for fetching project information
Change-Id: Id0968c08eb3017eb6f902c3cea3a363bc3f0c35c Reviewed-by: David Schulz <david.schulz@qt.io>
This commit is contained in:
@@ -9,6 +9,8 @@
|
||||
#include <utils/processenums.h>
|
||||
#include <utils/qtcassert.h>
|
||||
|
||||
#include <QUrl>
|
||||
|
||||
using namespace Utils;
|
||||
|
||||
namespace Axivion::Internal {
|
||||
@@ -27,6 +29,10 @@ QString AxivionQuery::toString() const
|
||||
return {};
|
||||
case DashboardInfo:
|
||||
return query;
|
||||
case ProjectInfo:
|
||||
QTC_ASSERT(m_parameters.size() == 1, return {});
|
||||
query += "/projects/" + QUrl::toPercentEncoding(m_parameters.first());
|
||||
return query;
|
||||
}
|
||||
|
||||
return {};
|
||||
|
||||
Reference in New Issue
Block a user