From bada61ce15102e1a31162b62660b3e6e52cb1e53 Mon Sep 17 00:00:00 2001 From: Berkus Decker Date: Sun, 13 May 2018 16:16:02 +0300 Subject: [PATCH] Fix include paths --- Telegram/SourceFiles/mtproto/rsa_public_key.h | 2 +- Telegram/SourceFiles/passcodewidget.h | 6 +++--- Telegram/SourceFiles/profile/profile_cover_drop_area.h | 5 +++-- Telegram/SourceFiles/profile/profile_inner_widget.h | 3 +-- Telegram/SourceFiles/settings/settings_fixed_bar.h | 2 +- Telegram/SourceFiles/ui/effects/radial_animation.h | 4 ++-- Telegram/SourceFiles/ui/effects/slide_animation.h | 3 ++- Telegram/SourceFiles/ui/toast/toast.h | 4 ++-- Telegram/SourceFiles/ui/twidget.cpp | 2 +- Telegram/SourceFiles/window/themes/window_theme.h | 4 ++-- .../SourceFiles/window/themes/window_theme_editor_block.h | 5 +++-- 11 files changed, 21 insertions(+), 19 deletions(-) diff --git a/Telegram/SourceFiles/mtproto/rsa_public_key.h b/Telegram/SourceFiles/mtproto/rsa_public_key.h index 71e31ad99..b3556052a 100644 --- a/Telegram/SourceFiles/mtproto/rsa_public_key.h +++ b/Telegram/SourceFiles/mtproto/rsa_public_key.h @@ -21,7 +21,7 @@ Copyright (c) 2014-2017 John Preston, https://desktop.telegram.org #pragma once #include -#include "core\utils.h" +#include "core/utils.h" namespace MTP { namespace internal { diff --git a/Telegram/SourceFiles/passcodewidget.h b/Telegram/SourceFiles/passcodewidget.h index fd81b2ae2..ad4a049aa 100644 --- a/Telegram/SourceFiles/passcodewidget.h +++ b/Telegram/SourceFiles/passcodewidget.h @@ -23,9 +23,9 @@ Copyright (c) 2014-2017 John Preston, https://desktop.telegram.org #include #include #include -#include "base\object_ptr.h" -#include "ui\animation.h" -#include "ui\twidget.h" +#include "base/object_ptr.h" +#include "ui/animation.h" +#include "ui/twidget.h" namespace Ui { class PasswordInput; diff --git a/Telegram/SourceFiles/profile/profile_cover_drop_area.h b/Telegram/SourceFiles/profile/profile_cover_drop_area.h index f40d5f72f..d9c1133c9 100644 --- a/Telegram/SourceFiles/profile/profile_cover_drop_area.h +++ b/Telegram/SourceFiles/profile/profile_cover_drop_area.h @@ -19,8 +19,9 @@ Full license: https://github.com/telegramdesktop/tdesktop/blob/master/LICENSE Copyright (c) 2014-2017 John Preston, https://desktop.telegram.org */ #pragma once -#include "ui\animation.h" -#include "ui\twidget.h" + +#include "ui/animation.h" +#include "ui/twidget.h" class QPaintEvent; diff --git a/Telegram/SourceFiles/profile/profile_inner_widget.h b/Telegram/SourceFiles/profile/profile_inner_widget.h index 5ec7fd66d..66b0bfbc1 100644 --- a/Telegram/SourceFiles/profile/profile_inner_widget.h +++ b/Telegram/SourceFiles/profile/profile_inner_widget.h @@ -21,8 +21,7 @@ Copyright (c) 2014-2017 John Preston, https://desktop.telegram.org #pragma once #include - -#include "ui\twidget.h" +#include "ui/twidget.h" class PeerData; diff --git a/Telegram/SourceFiles/settings/settings_fixed_bar.h b/Telegram/SourceFiles/settings/settings_fixed_bar.h index 93c047232..5a92154ee 100644 --- a/Telegram/SourceFiles/settings/settings_fixed_bar.h +++ b/Telegram/SourceFiles/settings/settings_fixed_bar.h @@ -21,7 +21,7 @@ Copyright (c) 2014-2017 John Preston, https://desktop.telegram.org #pragma once #include -#include "ui\twidget.h" +#include "ui/twidget.h" class QWidget; class QPaintEvent; diff --git a/Telegram/SourceFiles/ui/effects/radial_animation.h b/Telegram/SourceFiles/ui/effects/radial_animation.h index 948fd518b..0aeba0c16 100644 --- a/Telegram/SourceFiles/ui/effects/radial_animation.h +++ b/Telegram/SourceFiles/ui/effects/radial_animation.h @@ -19,8 +19,8 @@ Full license: https://github.com/telegramdesktop/tdesktop/blob/master/LICENSE Copyright (c) 2014-2017 John Preston, https://desktop.telegram.org */ #pragma once -#include "ui\animation.h" -#include "ui\twidget.h" +#include "ui/animation.h" +#include "ui/twidget.h" namespace Ui { diff --git a/Telegram/SourceFiles/ui/effects/slide_animation.h b/Telegram/SourceFiles/ui/effects/slide_animation.h index cdde00b94..33dfaa5c2 100644 --- a/Telegram/SourceFiles/ui/effects/slide_animation.h +++ b/Telegram/SourceFiles/ui/effects/slide_animation.h @@ -19,7 +19,8 @@ Full license: https://github.com/telegramdesktop/tdesktop/blob/master/LICENSE Copyright (c) 2014-2017 John Preston, https://desktop.telegram.org */ #pragma once -#include "ui\animation.h" + +#include "ui/animation.h" #include class Painter; diff --git a/Telegram/SourceFiles/ui/toast/toast.h b/Telegram/SourceFiles/ui/toast/toast.h index 73229ff97..feb4056de 100644 --- a/Telegram/SourceFiles/ui/toast/toast.h +++ b/Telegram/SourceFiles/ui/toast/toast.h @@ -21,8 +21,8 @@ Copyright (c) 2014-2017 John Preston, https://desktop.telegram.org #pragma once #include #include -#include "core\utils.h" -#include "ui\animation.h" +#include "core/utils.h" +#include "ui/animation.h" class QWidget; diff --git a/Telegram/SourceFiles/ui/twidget.cpp b/Telegram/SourceFiles/ui/twidget.cpp index 9666f10af..2b4c1e270 100644 --- a/Telegram/SourceFiles/ui/twidget.cpp +++ b/Telegram/SourceFiles/ui/twidget.cpp @@ -21,7 +21,7 @@ Copyright (c) 2014-2017 John Preston, https://desktop.telegram.org #include "application.h" #include "twidget.h" #include "mainwindow.h" -#include "window\main_window.h" +#include "window/main_window.h" #include "messenger.h" #include "app.h" diff --git a/Telegram/SourceFiles/window/themes/window_theme.h b/Telegram/SourceFiles/window/themes/window_theme.h index 81c87baf8..2b5729a47 100644 --- a/Telegram/SourceFiles/window/themes/window_theme.h +++ b/Telegram/SourceFiles/window/themes/window_theme.h @@ -19,9 +19,9 @@ Full license: https://github.com/telegramdesktop/tdesktop/blob/master/LICENSE Copyright (c) 2014-2017 John Preston, https://desktop.telegram.org */ #pragma once -#include "base\observer.h" +#include "base/observer.h" #include "QImage" -#include "styles\palette.h" +#include "styles/palette.h" #include "QPixmap" namespace Window { diff --git a/Telegram/SourceFiles/window/themes/window_theme_editor_block.h b/Telegram/SourceFiles/window/themes/window_theme_editor_block.h index 6b40e2b5f..33310432a 100644 --- a/Telegram/SourceFiles/window/themes/window_theme_editor_block.h +++ b/Telegram/SourceFiles/window/themes/window_theme_editor_block.h @@ -19,8 +19,9 @@ Full license: https://github.com/telegramdesktop/tdesktop/blob/master/LICENSE Copyright (c) 2014-2017 John Preston, https://desktop.telegram.org */ #pragma once -#include "ui\twidget.h" -#include "base\observer.h" + +#include "ui/twidget.h" +#include "base/observer.h" class EditColorBox;