diff -r 2f8f8080a020 -r ebdbd102c78a phonesettings/cpphonesettingsplugins/cptelephonyutils/tsrc/ut_cpphonenotes/ut_cpphonenotes.cpp --- a/phonesettings/cpphonesettingsplugins/cptelephonyutils/tsrc/ut_cpphonenotes/ut_cpphonenotes.cpp Mon May 03 12:31:11 2010 +0300 +++ b/phonesettings/cpphonesettingsplugins/cptelephonyutils/tsrc/ut_cpphonenotes/ut_cpphonenotes.cpp Fri May 14 15:51:57 2010 +0300 @@ -219,7 +219,7 @@ QRegExp regExpression("\\d{4}"); QRegExpValidator validator(regExpression, this); CpPhoneNotes::instance()->showPasswordQueryDialog( - queryTitle, validator, 5, password, okPressed); + queryTitle, validator, 5); } @@ -229,7 +229,11 @@ */ void UT_CpPhoneNotes::t_cancelNote() { + CpPhoneNotes::instance()->cancelNote(m_noteid1); CpPhoneNotes::instance()->showGlobalProgressNote(m_noteid1, "test"); + CpPhoneNotes::instance()->noteShowing(); + CpPhoneNotes::instance()->cancelNote(m_noteid1); + QTest::qWait(5000); }