Move kurlmimedata.h include to where it's really used

This commit is contained in:
Ilya Fedin 2023-03-17 17:06:23 +04:00 committed by John Preston
parent ae93455101
commit 2635b35b74
4 changed files with 6 additions and 4 deletions

View File

@ -13,6 +13,8 @@ https://github.com/telegramdesktop/tdesktop/blob/master/LEGAL
#include <QtCore/QMimeDatabase>
#include <QtCore/QMimeData>
#include <kurlmimedata.h>
namespace Core {
namespace {

View File

@ -21,10 +21,6 @@ https://github.com/telegramdesktop/tdesktop/blob/master/LEGAL
#include <set>
#include <filesystem>
#if __has_include(<kurlmimedata.h>)
#include <kurlmimedata.h>
#endif
#if __has_include(<ksandbox.h>)
#include <ksandbox.h>
#endif

View File

@ -101,6 +101,8 @@ https://github.com/telegramdesktop/tdesktop/blob/master/LEGAL
#include <QtGui/QWindow>
#include <QtGui/QScreen>
#include <kurlmimedata.h>
namespace Media {
namespace View {
namespace {

View File

@ -49,6 +49,8 @@ https://github.com/telegramdesktop/tdesktop/blob/master/LEGAL
#include <QtGui/QScreen>
#include <QtGui/QDrag>
#include <kurlmimedata.h>
namespace Window {
namespace {