Commit c407f5e0 authored by Jean-Baptiste Kempf's avatar Jean-Baptiste Kempf

Qt: remove unnecessary includes

parent 359ef7a1
......@@ -51,6 +51,14 @@
#include <QSpinBox>
#include <QTextEdit>
static inline void setSpinBounds( QSpinBox *spinbox ) {
spinbox->setRange( 0, INT_MAX );
spinbox->setAccelerated( true );
spinbox->setAlignment( Qt::AlignRight );
spinbox->setSpecialValueText("");
}
/************************************************************************
* Single panels
************************************************************************/
......
......@@ -31,21 +31,10 @@
#endif
#include <vlc_common.h>
#include <vlc_meta.h>
#include <QWidget>
#include <limits.h>
#define setSpinBounds( spinbox ) { \
spinbox->setRange( 0, INT_MAX ); \
spinbox->setAccelerated( true ) ; \
spinbox->setAlignment( Qt::AlignRight ); \
spinbox->setSpecialValueText(""); }
class QTreeWidget;
class QTreeWidgetItem;
class QTreeView;
class QSpinBox;
class QLineEdit;
class CoverArtLabel;
......
......@@ -32,10 +32,11 @@
#include "input_manager.hpp"
#include "recents.hpp"
#include <vlc_keys.h>
#include <vlc_url.h>
#include <vlc_strings.h>
#include <vlc_aout.h>
#include <vlc_keys.h> /* ACTION_ID */
#include <vlc_url.h> /* decode_URI */
#include <vlc_strings.h> /* str_format_meta */
#include <vlc_aout.h> /* audio_output_t */
#include <QApplication>
#include <QFile>
......
......@@ -30,7 +30,6 @@
# include "config.h"
#endif
#include <vlc_common.h>
#include "timetooltip.hpp"
#include "styles/seekstyle.hpp"
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment