reformating (no functional change)

This commit is contained in:
Albert S. 2019-08-24 09:19:49 +02:00
parent 7379cff7db
commit 6c67c11481
10 changed files with 139 additions and 141 deletions

View File

@ -18,7 +18,8 @@
CalculationEngine::CalculationEngine() CalculationEngine::CalculationEngine()
{ {
if (!CALCULATOR) { if (!CALCULATOR)
{
new Calculator(); new Calculator();
CALCULATOR->terminateThreads(); CALCULATOR->terminateThreads();
CALCULATOR->setPrecision(16); CALCULATOR->setPrecision(16);
@ -52,6 +53,4 @@ QString CalculationEngine::evaluate(const QString &expression)
MathStructure result = CALCULATOR->calculate(ctext, this->eo); MathStructure result = CALCULATOR->calculate(ctext, this->eo);
result.format(po); result.format(po);
return result.print(po).c_str(); return result.print(po).c_str();
} }

View File

@ -151,7 +151,6 @@ QStringList Window::generatePATHSuggestions(const QString &text)
QString entry = info.baseName(); QString entry = info.baseName();
if(entry.startsWith(text)) if(entry.startsWith(text))
{ {
results.append(entry); results.append(entry);
} }
} }