diff --git a/kde/src/SFLPhoneView.cpp b/kde/src/SFLPhoneView.cpp index 617c8fb7740c20a26b0746832886a8849515047d..9a116f9c1ef89ccd1792a549c350d482fa1c3abb 100755 --- a/kde/src/SFLPhoneView.cpp +++ b/kde/src/SFLPhoneView.cpp @@ -61,7 +61,7 @@ SFLPhoneView::SFLPhoneView(QWidget *parent) ConfigurationManagerInterface& configurationManager = ConfigurationManagerInterfaceSingleton::getInstance(); - errorWindow = new QErrorMessage(this); + callTreeModel->setTitle(i18n("Calls")); QPalette pal = QPalette(palette()); @@ -110,6 +110,8 @@ void SFLPhoneView::loadWindow() ///Return the error window QErrorMessage * SFLPhoneView::getErrorWindow() { + if (!errorWindow) + errorWindow = new QErrorMessage(this); return errorWindow; } @@ -228,7 +230,7 @@ void SFLPhoneView::action(Call* call, call_action action) call->actionPerformed(action); } catch(const char * msg) { - errorWindow->showMessage(QString(msg)); + getErrorWindow()->showMessage(QString(msg)); } updateWindowCallState(); }