aboutsummaryrefslogtreecommitdiff
path: root/src/debug_functions.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/debug_functions.cpp')
-rw-r--r--src/debug_functions.cpp16
1 files changed, 9 insertions, 7 deletions
diff --git a/src/debug_functions.cpp b/src/debug_functions.cpp
index a790610d..6186b9da 100644
--- a/src/debug_functions.cpp
+++ b/src/debug_functions.cpp
@@ -1,5 +1,5 @@
-#include <QMessageBox>
#include <QCoreApplication>
+#include <QMessageBox>
#include "debug_functions.h"
@@ -7,11 +7,12 @@ void call_error(QString p_message)
{
QMessageBox *msgBox = new QMessageBox;
- msgBox->setText(QCoreApplication::translate("debug_functions", "Error: %1").arg(p_message));
- msgBox->setWindowTitle(QCoreApplication::translate("debug_functions", "Error"));
-
+ msgBox->setText(QCoreApplication::translate("debug_functions", "Error: %1")
+ .arg(p_message));
+ msgBox->setWindowTitle(
+ QCoreApplication::translate("debug_functions", "Error"));
- //msgBox->setWindowModality(Qt::NonModal);
+ // msgBox->setWindowModality(Qt::NonModal);
msgBox->exec();
}
@@ -20,9 +21,10 @@ void call_notice(QString p_message)
QMessageBox *msgBox = new QMessageBox;
msgBox->setText(p_message);
- msgBox->setWindowTitle(QCoreApplication::translate("debug_functions", "Notice"));
+ msgBox->setWindowTitle(
+ QCoreApplication::translate("debug_functions", "Notice"));
- //msgBox->setWindowModality(Qt::NonModal);
+ // msgBox->setWindowModality(Qt::NonModal);
msgBox->exec();
}