diff options
| author | David Skoland <davidskoland@gmail.com> | 2018-12-26 16:43:08 +0100 |
|---|---|---|
| committer | David Skoland <davidskoland@gmail.com> | 2018-12-26 16:43:08 +0100 |
| commit | 00cfd2750d39795e4c205aee2a33b92b1da2524d (patch) | |
| tree | 839c1129418ca8fefe41e6814917f9dabb6efa4b /src/debug_functions.cpp | |
| parent | 6f1bce5882676ea7affe717a2f5a00b8c3b7fe12 (diff) | |
moved headers into include and cpp files into src + logo into resource
Diffstat (limited to 'src/debug_functions.cpp')
| -rw-r--r-- | src/debug_functions.cpp | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/src/debug_functions.cpp b/src/debug_functions.cpp new file mode 100644 index 00000000..77f2f35a --- /dev/null +++ b/src/debug_functions.cpp @@ -0,0 +1,25 @@ +#include "debug_functions.h" + +void call_error(QString p_message) +{ + QMessageBox *msgBox = new QMessageBox; + + msgBox->setText("Error: " + p_message); + msgBox->setWindowTitle("Error"); + + + //msgBox->setWindowModality(Qt::NonModal); + msgBox->exec(); +} + +void call_notice(QString p_message) +{ + QMessageBox *msgBox = new QMessageBox; + + msgBox->setText(p_message); + msgBox->setWindowTitle("Notice"); + + + //msgBox->setWindowModality(Qt::NonModal); + msgBox->exec(); +} |
