From cacf0e4f1411c844f2e866f07af5f28f0f53c7ec Mon Sep 17 00:00:00 2001 From: Alan Alpert Date: Wed, 16 Sep 2009 10:43:58 +1000 Subject: Compile fix --- src/declarative/fx/qfxtextinput.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/declarative/fx/qfxtextinput.cpp b/src/declarative/fx/qfxtextinput.cpp index b5960fd..8a09ebc 100644 --- a/src/declarative/fx/qfxtextinput.cpp +++ b/src/declarative/fx/qfxtextinput.cpp @@ -41,6 +41,7 @@ #include "qfxtextinput.h" #include "qfxtextinput_p.h" +#include "qmlinfo.h" #include #include #include @@ -509,7 +510,7 @@ void QFxTextInputPrivate::startCreatingCursor() q->connect(cursorComponent, SIGNAL(statusChanged(int)), q, SLOT(createCursor())); }else{//isError - qmlInfo(this) << "Could not load cursor delegate"; + qmlInfo(q) << "Could not load cursor delegate"; qWarning() << cursorComponent->errors(); } } @@ -519,7 +520,7 @@ void QFxTextInput::createCursor() Q_D(QFxTextInput); if(d->cursorComponent->isError()){ qmlInfo(this) << "Could not load cursor delegate"; - qWarning() << cursorComponent->errors(); + qWarning() << d->cursorComponent->errors(); return; } -- cgit v0.12