Commit df6fcd36 authored by Friedemann Kleint's avatar Friedemann Kleint
Browse files

Compile fix Windows.

parent ab6f124e
......@@ -52,7 +52,7 @@ namespace Internal {
class BaseTextEditorPrivate;
class TextEditorOverlay;
class RefactorOverlay;
class RefactorMarker;
struct RefactorMarker;
typedef QList<RefactorMarker> RefactorMarkers;
}
......
......@@ -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"))
{
}
......
......@@ -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);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment