diff --git a/src/plugins/projectexplorer/targetsettingspanel.cpp b/src/plugins/projectexplorer/targetsettingspanel.cpp
index d9e61a8dce3f1e4b9d8832b171b53a2ba04f04a3..d0cf74e873ffc42bf7af4d2af2cbcc24e6716c6b 100644
--- a/src/plugins/projectexplorer/targetsettingspanel.cpp
+++ b/src/plugins/projectexplorer/targetsettingspanel.cpp
@@ -41,6 +41,7 @@
 
 #include <QtCore/QCoreApplication>
 #include <QtGui/QLabel>
+#include <QtGui/QMessageBox>
 #include <QtGui/QVBoxLayout>
 
 using namespace ProjectExplorer;
@@ -249,8 +250,13 @@ void TargetSettingsPanelWidget::removeTarget()
 {
     int index = m_selector->currentIndex();
     Target *t = m_targets.at(index);
-    // TODO: Ask before removal?
-    m_project->removeTarget(t);
+    int ret = QMessageBox::warning(this, tr("Qt Creator"),
+                                   tr("Do you really want to remove the\n"
+                                      "\"%1\" target?").arg(t->displayName()),
+                                    QMessageBox::Yes | QMessageBox::No,
+                                    QMessageBox::No);
+    if (ret == QMessageBox::Yes)
+        m_project->removeTarget(t);
 }
 
 void TargetSettingsPanelWidget::targetAdded(ProjectExplorer::Target *target)