diff --git a/Telegram/CMakeLists.txt b/Telegram/CMakeLists.txt index fa2405a5f..9180307d3 100644 --- a/Telegram/CMakeLists.txt +++ b/Telegram/CMakeLists.txt @@ -415,7 +415,7 @@ set(APP_SRC SourceFiles/observer_peer.cpp SourceFiles/overviewwidget.cpp SourceFiles/passcodewidget.cpp - SourceFiles/qt_functions.cpp + # SourceFiles/qt_functions.cpp SourceFiles/qt_static_plugins.cpp SourceFiles/settings.cpp SourceFiles/shortcuts.cpp diff --git a/Telegram/SourceFiles/application.h b/Telegram/SourceFiles/application.h index eec0ffc84..f3ccc9d16 100644 --- a/Telegram/SourceFiles/application.h +++ b/Telegram/SourceFiles/application.h @@ -20,6 +20,8 @@ Copyright (c) 2014-2017 John Preston, https://desktop.telegram.org */ #pragma once +#include + class UpdateChecker; class Application : public QApplication { Q_OBJECT diff --git a/Telegram/SourceFiles/base/observer.h b/Telegram/SourceFiles/base/observer.h index 362c6d42b..6b1797da4 100644 --- a/Telegram/SourceFiles/base/observer.h +++ b/Telegram/SourceFiles/base/observer.h @@ -22,6 +22,7 @@ Copyright (c) 2014-2017 John Preston, https://desktop.telegram.org #include #include +#include #include "base/type_traits.h" namespace base {