summaryrefslogtreecommitdiff
path: root/src/location/maps/qgeoroutingmanager.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/location/maps/qgeoroutingmanager.cpp')
-rw-r--r--src/location/maps/qgeoroutingmanager.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/location/maps/qgeoroutingmanager.cpp b/src/location/maps/qgeoroutingmanager.cpp
index dde8187f..4e279f6a 100644
--- a/src/location/maps/qgeoroutingmanager.cpp
+++ b/src/location/maps/qgeoroutingmanager.cpp
@@ -383,8 +383,7 @@ QGeoRoutingManagerPrivate::QGeoRoutingManagerPrivate()
QGeoRoutingManagerPrivate::~QGeoRoutingManagerPrivate()
{
- if (engine)
- delete engine;
+ delete engine;
}
#include "moc_qgeoroutingmanager.cpp"