diff --git a/src/plugins/find/findtoolbar.h b/src/plugins/find/findtoolbar.h
index 3008eeed6f148df9d5f9f26174307bc0098ebabd..b245f2b1b361ad694d2c17079ff6e0dca45e9e39 100644
--- a/src/plugins/find/findtoolbar.h
+++ b/src/plugins/find/findtoolbar.h
@@ -94,7 +94,7 @@ private:
     void setFindFlag(IFindSupport::FindFlag flag, bool enabled);
     bool hasFindFlag(IFindSupport::FindFlag flag);
     IFindSupport::FindFlags effectiveFindFlags();
-    Core::FindToolBarPlaceHolder *FindToolBar::findToolBarPlaceHolder() const;
+    Core::FindToolBarPlaceHolder *findToolBarPlaceHolder() const;
 
     bool eventFilter(QObject *obj, QEvent *event);
     void setFindText(const QString &text);
diff --git a/src/plugins/help/helpplugin.cpp b/src/plugins/help/helpplugin.cpp
index ec5b7887fa53a32d1a1ed1412c8e9f873dde4534..df08859d230ac59786e73deeb2cc9d344d84ef00 100644
--- a/src/plugins/help/helpplugin.cpp
+++ b/src/plugins/help/helpplugin.cpp
@@ -54,7 +54,6 @@
 #include <coreplugin/rightpane.h>
 #include <coreplugin/sidebar.h>
 #include <coreplugin/uniqueidmanager.h>
-#include <coreplugin/welcomemode.h>
 
 #include <welcome/welcomemode.h>