diff -r 3738fe97f027 -r 8aed59de29f9 videocollection/tsrc/stubs/src/hbinputdialog.cpp --- a/videocollection/tsrc/stubs/src/hbinputdialog.cpp Thu Apr 01 23:32:44 2010 +0300 +++ b/videocollection/tsrc/stubs/src/hbinputdialog.cpp Fri Apr 16 18:13:14 2010 +0300 @@ -18,6 +18,8 @@ #include "hbinputdialog.h" bool HbInputDialog::mGetTextFails = false; +QString HbInputDialog::mGetTextReturnValue = QString(); +int HbInputDialog::mGetTextCallCount = 0; QString HbInputDialog::getText(const QString &label,const QString &text, @@ -26,7 +28,16 @@ Q_UNUSED(label); Q_UNUSED(scene); Q_UNUSED(parent); - QString textReturn = text; + mGetTextCallCount++; + QString textReturn; + if(HbInputDialog::mGetTextReturnValue.isNull()) + { + textReturn = text; + } + else + { + textReturn = mGetTextReturnValue; + } if(mGetTextFails) { *ok = false;