~zeller-benjamin/qtcreator-plugin-ubuntu/snapcraft-step1

« back to all changes in this revision

Viewing changes to src/ubuntu/ubuntuplugin.cpp

  • Committer: Benjamin Zeller
  • Date: 2016-10-07 12:10:57 UTC
  • Revision ID: benjamin.zeller@canonical.com-20161007121057-ze8996i48x2e8aym
Save start of the art

Show diffs side-by-side

added added

removed removed

Lines of Context:
53
53
#include <ubuntu/wizards/ubuntufirstrunwizard.h>
54
54
#include <ubuntu/wizards/ubuntuprojectmigrationwizard.h>
55
55
 
 
56
#include <ubuntu/snap/project/snapcraftprojectmanager.h>
 
57
 
56
58
#include "ubuntujsextension.h"
57
59
 
58
60
#include <coreplugin/modemanager.h>
171
173
 
172
174
    // Handle new project type files
173
175
    addAutoReleasedObject(new UbuntuProjectManager);
 
176
    addAutoReleasedObject(new SnapcraftProjectManager);
174
177
    addAutoReleasedObject(new UbuntuLocalRunConfigurationFactory);
175
178
    addAutoReleasedObject(new UbuntuRemoteRunControlFactory);
176
179
    addAutoReleasedObject(new UbuntuLocalRunControlFactory);
407
410
                if (Settings::askForContainerSetup()) {
408
411
                    QString text = tr("The container backend is not completely initialized.\n\n"
409
412
                                      "Create default configuration?\n"
410
 
                                      "Not setting up the container configuration will\nmake it impossible to run applications locally.\n\n"
411
 
                                      "Note: Will override existing LXD configurations."
 
413
                                      "Not setting up the container configuration will\nmake it impossible to run applications locally."
412
414
                                      );
413
415
 
414
416
                    QMessageBox box(QMessageBox::Question, qApp->applicationName(),text, QMessageBox::Yes | QMessageBox::No | QMessageBox::Abort, Core::ICore::mainWindow());