forked from qt-creator/qt-creator
TextEditor: Move the fixit light bulb to Utils
Change-Id: I3128c0363737980a77fa780601f0b245d01540ad Reviewed-by: Ivan Donchevskii <ivan.donchevskii@qt.io>
This commit is contained in:
@@ -27,7 +27,7 @@
|
||||
#include "textdocumentlayout.h"
|
||||
#include "texteditor.h"
|
||||
|
||||
#include <utils/icon.h>
|
||||
#include <utils/utilsicons.h>
|
||||
|
||||
#include <QPainter>
|
||||
|
||||
@@ -39,9 +39,7 @@ RefactorOverlay::RefactorOverlay(TextEditor::TextEditorWidget *editor) :
|
||||
QObject(editor),
|
||||
m_editor(editor),
|
||||
m_maxWidth(0),
|
||||
m_icon(Utils::Icon({
|
||||
{QLatin1String(":/texteditor/images/lightbulbcap.png"), Utils::Theme::PanelTextColorMid},
|
||||
{QLatin1String(":/texteditor/images/lightbulb.png"), Utils::Theme::IconsWarningColor}}, Utils::Icon::Tint).icon())
|
||||
m_icon(Utils::Icons::CODEMODEL_FIXIT.icon())
|
||||
{
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user