diff --git a/src/plugins/texteditor/basetexteditor.h b/src/plugins/texteditor/basetexteditor.h index 2f96437f94c1773ec75d04310202f02f169fa539..7c1ab6e6120dca19ce3c75cd348826bad671f3ea 100644 --- a/src/plugins/texteditor/basetexteditor.h +++ b/src/plugins/texteditor/basetexteditor.h @@ -52,7 +52,7 @@ namespace Internal { class BaseTextEditorPrivate; class TextEditorOverlay; class RefactorOverlay; - class RefactorMarker; + struct RefactorMarker; typedef QList<RefactorMarker> RefactorMarkers; } diff --git a/src/plugins/texteditor/refactoroverlay.cpp b/src/plugins/texteditor/refactoroverlay.cpp index 006de650236e1dd2fc0f08bedbc8261ce853db60..520fd2b5d59b33a87b665097969d3a4a2404e255 100644 --- a/src/plugins/texteditor/refactoroverlay.cpp +++ b/src/plugins/texteditor/refactoroverlay.cpp @@ -6,11 +6,11 @@ using namespace TextEditor::Internal; -RefactorOverlay::RefactorOverlay(BaseTextEditor *editor) : +RefactorOverlay::RefactorOverlay(TextEditor::BaseTextEditor *editor) : QObject(editor), m_editor(editor), m_maxWidth(0), - m_icon(":/texteditor/images/refactormarker.png") + m_icon(QLatin1String(":/texteditor/images/refactormarker.png")) { } diff --git a/src/plugins/texteditor/refactoroverlay.h b/src/plugins/texteditor/refactoroverlay.h index ad44b843c73047e76895121043d88ce457da64b8..6c0c9bac3feb7eb5874acb2ed364e968ad601470 100644 --- a/src/plugins/texteditor/refactoroverlay.h +++ b/src/plugins/texteditor/refactoroverlay.h @@ -24,7 +24,7 @@ class TEXTEDITOR_EXPORT RefactorOverlay : public QObject { Q_OBJECT public: - explicit RefactorOverlay(BaseTextEditor *editor); + explicit RefactorOverlay(TextEditor::BaseTextEditor *editor); bool isEmpty() const { return m_markers.isEmpty(); } void paint(QPainter *painter, const QRect &clip);