commit | b35b865123b4b1983b3aa320a55eee463686198d | [log] [tgz] |
---|---|---|
author | Yingdi Yu <yuyingdi@gmail.com> | Thu Nov 07 11:32:40 2013 -0800 |
committer | Yingdi Yu <yuyingdi@gmail.com> | Thu Nov 07 11:32:40 2013 -0800 |
tree | 867d1d0b63cc6b4b6fc7bf582cf428f85c0ee817 | |
parent | 6a5b9f621ede9918f8cc6748465630983439b451 [diff] [blame] |
Adding exception handling
diff --git a/src/warningdialog.cpp b/src/warningdialog.cpp index 6c7eb8a..6dcae60 100644 --- a/src/warningdialog.cpp +++ b/src/warningdialog.cpp
@@ -30,7 +30,7 @@ void WarningDialog::setMsg(const string& msg) -{ ui->message->setText(QApplication::translate("WarningDialog",msg.c_str(), 0, QApplication::UnicodeUTF8)); } +{ ui->message->setText(QString::fromStdString(msg)); } void WarningDialog::onOkClicked()