summaryrefslogtreecommitdiff
path: root/qml_plugin/src/launcher/mathcalc.rs
diff options
context:
space:
mode:
Diffstat (limited to 'qml_plugin/src/launcher/mathcalc.rs')
-rw-r--r--qml_plugin/src/launcher/mathcalc.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/qml_plugin/src/launcher/mathcalc.rs b/qml_plugin/src/launcher/mathcalc.rs
index 8c24a92..5b67d2f 100644
--- a/qml_plugin/src/launcher/mathcalc.rs
+++ b/qml_plugin/src/launcher/mathcalc.rs
@@ -1,6 +1,6 @@
use cxx_qt::{CxxQtType, Threading};
use cxx_qt_lib::{QString, QVariant};
-use kalk::{calculation_result::CalculationResult, parser};
+use kalk::parser;
use std::{pin::Pin, sync::Arc};
use tokio::sync::Mutex;
use unwrap_print::PrintableResult;
@@ -102,7 +102,7 @@ impl qobject::MathCalc {
)
},
);
- qt_thread
+ _ = qt_thread
.queue(
|mut qo| {
qo.as_mut()