~abreu-alexandre/webbrowser-app/container-extension

« back to all changes in this revision

Viewing changes to src/app/webcontainer/webapp-container.cpp

  • Committer: CI Train Bot
  • Author(s): Olivier Tilloy
  • Date: 2016-01-22 10:23:29 UTC
  • mfrom: (1323.1.12 single-application)
  • Revision ID: ci-train-bot@canonical.com-20160122102329-nh6xecheev0ykmwl
Ensure that only one instance of the app is running. Fixes: #1535199
Approved by: Alexandre Abreu

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
/*
2
 
 * Copyright 2013-2015 Canonical Ltd.
 
2
 * Copyright 2013-2016 Canonical Ltd.
3
3
 *
4
4
 * This file is part of webbrowser-app.
5
5
 *
33
33
#include <QtCore/QDebug>
34
34
#include <QtCore/QFile>
35
35
#include <QtCore/QFileInfo>
36
 
#include <QtCore/QtGlobal>
37
36
#include <QtCore/QRegularExpression>
 
37
#include <QtCore/QSettings>
 
38
#include <QtCore/QStandardPaths>
38
39
#include <QtCore/QTextStream>
 
40
#include <QtCore/QtGlobal>
39
41
#include <QtQml/QQmlComponent>
40
42
#include <QtQml/QQmlContext>
41
43
#include <QtQml/QQmlEngine>
42
44
#include <QtQml>
43
45
#include <QtQuick/QQuickWindow>
44
46
 
45
 
#include <QStandardPaths>
46
 
#include <QSettings>
47
 
 
48
47
static const char privateModuleUri[] = "webcontainer.private";
49
48
 
50
49
namespace