forked from qt-creator/qt-creator
CompilerExplorer: Add Icon
Also adds function to FileIconProvider to register a full icon instead of an overlay. Change-Id: I2d9415a3b57fa50ae313ad4e52fc929b418f9708 Reviewed-by: <github-actions-qt-creator@cristianadam.eu> Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
This commit is contained in:
@@ -18,6 +18,8 @@
|
||||
|
||||
#include <projectexplorer/jsonwizard/jsonwizardfactory.h>
|
||||
|
||||
#include <utils/fsengine/fileiconprovider.h>
|
||||
|
||||
#include <QMenu>
|
||||
|
||||
using namespace Core;
|
||||
@@ -42,6 +44,9 @@ public:
|
||||
settings().defaultDocument().toUtf8());
|
||||
});
|
||||
|
||||
Utils::FileIconProvider::registerIconForMimeType(QIcon(":/compilerexplorer/logos/ce.ico"),
|
||||
"application/compiler-explorer");
|
||||
|
||||
ProjectExplorer::JsonWizardFactory::addWizardPath(":/compilerexplorer/wizard/");
|
||||
|
||||
ActionContainer *mtools = ActionManager::actionContainer(Core::Constants::M_TOOLS);
|
||||
|
||||
Reference in New Issue
Block a user