diff --git a/src/plugins/qmljseditor/qmljseditor.cpp b/src/plugins/qmljseditor/qmljseditor.cpp index 2bf1d5205a7..0bae40cfb25 100644 --- a/src/plugins/qmljseditor/qmljseditor.cpp +++ b/src/plugins/qmljseditor/qmljseditor.cpp @@ -46,6 +46,7 @@ #include #include #include +#include #include #include @@ -1078,6 +1079,7 @@ QmlJSEditorFactory::QmlJSEditorFactory(Utils::Id _id) setCodeFoldingSupported(true); addHoverHandler(new QmlJSHoverHandler); + addHoverHandler(new ColorPreviewHoverHandler); setCompletionAssistProvider(new QmlJSCompletionAssistProvider); setEditorActionHandlers(TextEditorActionHandler::Format