Skip to content

Commit

Permalink
updated the cloud + portal templates (C++) to include application name.
Browse files Browse the repository at this point in the history
Former-commit-id: b3ab062
  • Loading branch information
Andrew Morris committed Jun 7, 2018
1 parent 57bd21a commit a8ef16f
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 0 deletions.
Expand Up @@ -32,6 +32,7 @@
int main(int argc, char *argv[])
{
QGuiApplication app(argc, argv);
app.setApplicationName("Add Items to Portal - C++");

#ifdef QT_WEBVIEW_WEBENGINE_BACKEND
QtWebEngine::initialize();
Expand Down
Expand Up @@ -35,6 +35,7 @@ using namespace Esri::ArcGISRuntime;
int main(int argc, char *argv[])
{
MyApplication app(argc, argv);
app.setApplicationName("OAuth Redirect Example - C++");

#if defined(Q_OS_WIN) || (defined(Q_OS_LINUX) && !defined(Q_OS_ANDROID))
QCommandLineParser commandLineParser;
Expand Down
Expand Up @@ -32,6 +32,7 @@
int main(int argc, char *argv[])
{
QGuiApplication app(argc, argv);
app.setApplicationName("Portal User Info - C++");

#ifdef QT_WEBVIEW_WEBENGINE_BACKEND
QtWebEngine::initialize();
Expand Down
Expand Up @@ -32,6 +32,7 @@
int main(int argc, char *argv[])
{
QGuiApplication app(argc, argv);
app.setApplicationName("Search for Webmap - C++");

#ifdef QT_WEBVIEW_WEBENGINE_BACKEND
QtWebEngine::initialize();
Expand Down
Expand Up @@ -33,6 +33,7 @@
int main(int argc, char *argv[])
{
QGuiApplication app(argc, argv);
app.setApplicationName("Show Org Basemaps - C++");

#ifdef QT_WEBVIEW_WEBENGINE_BACKEND
QtWebEngine::initialize();
Expand Down
Expand Up @@ -29,6 +29,7 @@
int main(int argc, char *argv[])
{
QGuiApplication app(argc, argv);
app.setApplicationName("Token Authentication - C++");

// Initialize the sample
TokenAuthentication::init();
Expand Down

0 comments on commit a8ef16f

Please sign in to comment.