reformating (no functional change)
This commit is contained in:
parent
7379cff7db
commit
6c67c11481
@ -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();
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
@ -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);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user