added eval warning dialog refs #1727

This commit is contained in:
Vadim Kurland
2010-10-06 01:04:35 +00:00
parent 1141ee6223
commit 48a8c9ff79
2 changed files with 8 additions and 2 deletions
+1 -1
View File
@@ -1 +1 @@
#define BUILD_NUM 3327
#define BUILD_NUM 3328
+7 -1
View File
@@ -165,6 +165,8 @@
#include <qtoolbutton.h>
extern void regCheck();
using namespace libfwbuilder;
using namespace std;
using namespace Ui;
@@ -583,7 +585,7 @@ void FWWindow::showIntroDialog()
msg_box.addButton(&cb, QMessageBox::ResetRole); // is this role right ?
QPushButton *watch_button =
msg_box.addButton(tr("Watch the guide"), QMessageBox::AcceptRole);
QPushButton *close_button = msg_box.addButton(QMessageBox::Close);
msg_box.addButton(QMessageBox::Close);
msg_box.setDefaultButton(watch_button);
msg_box.exec();
@@ -604,6 +606,10 @@ void FWWindow::showIntroDialog()
return;
}
#ifdef ELC
if (regCheck()) return;
#endif
if (!st->getBool("UI/NoStartTip"))
{
StartTipDialog *stdlg = new StartTipDialog(this);