From 7b5e033c048738c1d52efd4cef003f673b78029a Mon Sep 17 00:00:00 2001 From: f4exb Date: Tue, 11 May 2021 22:23:14 +0200 Subject: [PATCH] Sat Tracker: fixed compiler warning --- plugins/feature/satellitetracker/satelliteselectiondialog.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/feature/satellitetracker/satelliteselectiondialog.cpp b/plugins/feature/satellitetracker/satelliteselectiondialog.cpp index a86f377c4..69acbf644 100644 --- a/plugins/feature/satellitetracker/satelliteselectiondialog.cpp +++ b/plugins/feature/satellitetracker/satelliteselectiondialog.cpp @@ -235,7 +235,7 @@ void SatelliteSelectionDialog::displaySatInfo(const QString& name) info.append(QString(" Inclination: %1%2").arg(Units::radiansToDegrees(ele.Inclination())).arg(QChar(0xb0))); info.append(QString(" Eccentricity: %1").arg(ele.Eccentricity())); } - catch (TleException tlee) + catch (TleException& tlee) { qDebug() << "SatelliteSelectionDialog::displaySatInfo: TleException " << tlee.what(); }