aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTobias Hunger <tobias.hunger@theqtcompany.com>2016-03-08 10:32:13 +0100
committerTobias Hunger <tobias.hunger@theqtcompany.com>2016-03-08 11:30:19 +0000
commitd502727b2c69feffea2106ed328ac8c45a6dfc9f (patch)
treeb737ebe6c5b3629bf14cf8d5dd09b15c0ab2ca3e
parentf941eed4c866ae585c0b31e27659cfd73d79f122 (diff)
Android: Fix possible crashv3.6.1
Change-Id: I1b73a077f6d2f157d4367358f9f156d32b3e6cea Task-number: QTCREATORBUG-15832 Reviewed-by: Eike Ziller <eike.ziller@theqtcompany.com>
-rw-r--r--src/plugins/android/androidmanifesteditorwidget.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/plugins/android/androidmanifesteditorwidget.cpp b/src/plugins/android/androidmanifesteditorwidget.cpp
index 178c3fe4f1..e5202675d8 100644
--- a/src/plugins/android/androidmanifesteditorwidget.cpp
+++ b/src/plugins/android/androidmanifesteditorwidget.cpp
@@ -599,7 +599,8 @@ void AndroidManifestEditorWidget::postSave()
if (project) {
if (Target *target = project->activeTarget()) {
AndroidQtSupport *androidQtSupport = AndroidManager::androidQtSupport(target);
- androidQtSupport->manifestSaved(target);
+ if (androidQtSupport)
+ androidQtSupport->manifestSaved(target);
}
}
}