Remove more unneeded headers
This commit is contained in:
parent
127fb9370b
commit
63f3071445
|
@ -15,15 +15,10 @@
|
|||
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
#include <QApplication>
|
||||
#include <QDesktopWidget>
|
||||
#include <QSettings>
|
||||
#include <QShortcut>
|
||||
|
||||
#include "Config.h"
|
||||
#include "Logging.h"
|
||||
#include "Splitter.h"
|
||||
#include "Utils.h"
|
||||
|
||||
constexpr auto MaxWidth = (1 << 24) - 1;
|
||||
|
||||
|
@ -180,4 +175,3 @@ splitter::calculateSidebarSizes(const QFont &f)
|
|||
|
||||
return sz;
|
||||
}
|
||||
|
||||
|
|
|
@ -18,17 +18,14 @@
|
|||
#pragma once
|
||||
|
||||
#include <deque>
|
||||
#include <iterator>
|
||||
#include <map>
|
||||
#include <optional>
|
||||
|
||||
#include <QApplication>
|
||||
#include <QCoreApplication>
|
||||
#include <QHBoxLayout>
|
||||
#include <QPaintEvent>
|
||||
#include <QTextEdit>
|
||||
#include <QWidget>
|
||||
|
||||
#include "Utils.h"
|
||||
#include "dialogs/PreviewUploadOverlay.h"
|
||||
#include "emoji/PickButton.h"
|
||||
#include "popups/ReplyPopup.h"
|
||||
|
|
|
@ -651,4 +651,3 @@ utils::restoreCombobox(QComboBox *combo, const QString &value)
|
|||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -15,7 +15,6 @@
|
|||
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
#include <QApplication>
|
||||
#include <QBuffer>
|
||||
#include <QFile>
|
||||
#include <QFileInfo>
|
||||
|
|
|
@ -1,7 +1,10 @@
|
|||
#include <QPaintEvent>
|
||||
#include <QPainter>
|
||||
#include <QScrollArea>
|
||||
#include <QStyleOption>
|
||||
#include <QTabWidget>
|
||||
#include <QTimer>
|
||||
#include <QVBoxLayout>
|
||||
|
||||
#include "Cache.h"
|
||||
#include "ChatPage.h"
|
||||
|
|
|
@ -3,13 +3,13 @@
|
|||
#include <mtx/responses.hpp>
|
||||
|
||||
#include <QMap>
|
||||
#include <QPaintEvent>
|
||||
#include <QScrollArea>
|
||||
#include <QString>
|
||||
#include <QTabWidget>
|
||||
#include <QVBoxLayout>
|
||||
#include <QWidget>
|
||||
|
||||
class QPaintEvent;
|
||||
class QTabWidget;
|
||||
class QScrollArea;
|
||||
class QVBoxLayout;
|
||||
|
||||
namespace popups {
|
||||
|
||||
|
|
|
@ -3,8 +3,8 @@
|
|||
#include <QLinearGradient>
|
||||
#include <QPainter>
|
||||
|
||||
|
||||
void DropShadow::draw(QPainter &painter,
|
||||
void
|
||||
DropShadow::draw(QPainter &painter,
|
||||
qint16 margin,
|
||||
qreal radius,
|
||||
QColor start,
|
||||
|
@ -60,9 +60,7 @@
|
|||
gradient.setFinalStop(bottom1);
|
||||
painter.setBrush(QBrush(gradient));
|
||||
painter.drawRoundedRect(
|
||||
QRectF(QPointF(margin, height - margin), QPointF(width - margin, height)),
|
||||
0.0,
|
||||
0.0);
|
||||
QRectF(QPointF(margin, height - margin), QPointF(width - margin, height)), 0.0, 0.0);
|
||||
|
||||
// BottomRight
|
||||
QPointF bottomright0(width - margin, height - margin);
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
#include "TextField.h"
|
||||
|
||||
#include <QApplication>
|
||||
#include <QCoreApplication>
|
||||
#include <QEventTransition>
|
||||
#include <QFontDatabase>
|
||||
#include <QPaintEvent>
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
#include <QApplication>
|
||||
#include <QColor>
|
||||
#include <QCoreApplication>
|
||||
#include <QEvent>
|
||||
#include <QPainter>
|
||||
|
||||
|
|
Loading…
Reference in New Issue