aboutsummaryrefslogtreecommitdiff
path: root/src/debug_functions.cpp
diff options
context:
space:
mode:
authoroldmud0 <oldmud0@users.noreply.github.com>2020-05-22 17:02:32 -0500
committeroldmud0 <oldmud0@users.noreply.github.com>2020-05-22 17:02:32 -0500
commit156a760ebab6839c53f9c613881f0937e814414a (patch)
treefd9fafecd25fbd66f0e4f8101f856c8cf68b790e /src/debug_functions.cpp
parentd89a4370a753f6e1da22349866b1b00f638884a6 (diff)
Full revert to tag 2.6.2
Due to a countless number of changes made to the core that were not fully understood, tested, or documented, it was decided to roll everything back to the last known stable version (2.6.2). Changes dropped include: - Witness needed - Shake - Frame SFX - Multiple custom objections - Multithreaded thumbnail generation - Looping - Various translation additions - "Mirror IC" - Color in IC log - An invocation of clang-format Next time, work together and split your big fork into independently testable feature branches.
Diffstat (limited to 'src/debug_functions.cpp')
-rw-r--r--src/debug_functions.cpp17
1 files changed, 6 insertions, 11 deletions
diff --git a/src/debug_functions.cpp b/src/debug_functions.cpp
index 6186b9da..77f2f35a 100644
--- a/src/debug_functions.cpp
+++ b/src/debug_functions.cpp
@@ -1,18 +1,14 @@
-#include <QCoreApplication>
-#include <QMessageBox>
-
#include "debug_functions.h"
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("Error: " + p_message);
+ msgBox->setWindowTitle("Error");
+
- // msgBox->setWindowModality(Qt::NonModal);
+ //msgBox->setWindowModality(Qt::NonModal);
msgBox->exec();
}
@@ -21,10 +17,9 @@ void call_notice(QString p_message)
QMessageBox *msgBox = new QMessageBox;
msgBox->setText(p_message);
+ msgBox->setWindowTitle("Notice");
- msgBox->setWindowTitle(
- QCoreApplication::translate("debug_functions", "Notice"));
- // msgBox->setWindowModality(Qt::NonModal);
+ //msgBox->setWindowModality(Qt::NonModal);
msgBox->exec();
}