forked from AttorneyOnline/AO2-Client
- Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathdebug_functions.cpp
More file actions
Latest commit
27 lines (20 loc) · 513 Bytes
/
Copy pathdebug_functions.cpp
File metadata and controls
27 lines (20 loc) · 513 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
#include<QMessageBox>
#include"debug_functions.h"
voidcall_error(QString p_message)
{
QMessageBox *f_box = new QMessageBox;
f_box->setText("Error: " + p_message);
f_box->setWindowTitle("Error");
//msgBox->setWindowModality(Qt::NonModal);
f_box->exec();
delete f_box;
}
voidcall_notice(QString p_message)
{
QMessageBox *f_box = new QMessageBox;
f_box->setText(p_message);
f_box->setWindowTitle("Notice");
//msgBox->setWindowModality(Qt::NonModal);
f_box->exec();
delete f_box;
}