mirror of
https://github.com/AxioDL/PrimeWorldEditor.git
synced 2025-12-10 14:07:56 +00:00
Minor TString cleanup (also enable log terminal output in release mode)
This commit is contained in:
@@ -34,19 +34,13 @@ void Write(const TString& message)
|
||||
void Error(const TString& message)
|
||||
{
|
||||
Write("ERROR: " + message);
|
||||
|
||||
#ifdef _DEBUG
|
||||
std::cout << "ERROR: " << message << "\n";
|
||||
#endif
|
||||
std::cout << "ERROR: " << message << "\n";
|
||||
}
|
||||
|
||||
void Warning(const TString& message)
|
||||
{
|
||||
Write("Warning: " + message);
|
||||
|
||||
#ifdef _DEBUG
|
||||
std::cout << "Warning: " << message << "\n";
|
||||
#endif
|
||||
}
|
||||
|
||||
void FileWrite(const TString& filename, const TString& message)
|
||||
|
||||
@@ -3,7 +3,6 @@
|
||||
#include <QStyleFactory>
|
||||
#include <UI/CDarkStyle.h>
|
||||
#include <Resource/factory/CTemplateLoader.h>
|
||||
#include <Common/TString.h>
|
||||
|
||||
int main(int argc, char *argv[])
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user