aboutsummaryrefslogtreecommitdiff
path: root/src/debug_functions.cpp
diff options
context:
space:
mode:
authorCrystalwarrior <varsash@gmail.com>2020-05-22 02:14:54 +0300
committerCrystalwarrior <varsash@gmail.com>2020-05-22 02:14:54 +0300
commit88de4cde0433ef5e606f38a2f1e6041f0d24a87e (patch)
treece57adab0e3a236a93d112f33235638b74502040 /src/debug_functions.cpp
parentc8e12558cdd3fd0769b81679ad09edf1f29b780f (diff)
clang 2 electric boogaloo
{ BasedOnStyle: LLVM, BreakBeforeBraces: Stroustrup}
Diffstat (limited to 'src/debug_functions.cpp')
-rw-r--r--src/debug_functions.cpp23
1 files changed, 13 insertions, 10 deletions
diff --git a/src/debug_functions.cpp b/src/debug_functions.cpp
index ba189ec0..b8321640 100644
--- a/src/debug_functions.cpp
+++ b/src/debug_functions.cpp
@@ -5,22 +5,25 @@
void call_error(QString p_message)
{
- QMessageBox *msgBox = new QMessageBox;
+ 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->exec();
+ // msgBox->setWindowModality(Qt::NonModal);
+ msgBox->exec();
}
void call_notice(QString p_message)
{
- QMessageBox *msgBox = new QMessageBox;
+ QMessageBox *msgBox = new QMessageBox;
- msgBox->setText(p_message);
- msgBox->setWindowTitle(QCoreApplication::translate("debug_functions", "Notice"));
+ msgBox->setText(p_message);
+ msgBox->setWindowTitle(
+ QCoreApplication::translate("debug_functions", "Notice"));
- //msgBox->setWindowModality(Qt::NonModal);
- msgBox->exec();
+ // msgBox->setWindowModality(Qt::NonModal);
+ msgBox->exec();
}