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

Qt: remove unnecessary includes

parent 359ef7a1
...@@ -51,6 +51,14 @@ ...@@ -51,6 +51,14 @@
#include <QSpinBox> #include <QSpinBox>
#include <QTextEdit> #include <QTextEdit>
static inline void setSpinBounds( QSpinBox *spinbox ) {
spinbox->setRange( 0, INT_MAX );
spinbox->setAccelerated( true );
spinbox->setAlignment( Qt::AlignRight );
spinbox->setSpecialValueText("");
}
/************************************************************************ /************************************************************************
* Single panels * Single panels
************************************************************************/ ************************************************************************/
......
...@@ -31,21 +31,10 @@ ...@@ -31,21 +31,10 @@
#endif #endif
#include <vlc_common.h> #include <vlc_common.h>
#include <vlc_meta.h>
#include <QWidget> #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 QTreeWidget;
class QTreeWidgetItem; class QTreeWidgetItem;
class QTreeView;
class QSpinBox; class QSpinBox;
class QLineEdit; class QLineEdit;
class CoverArtLabel; class CoverArtLabel;
......
...@@ -32,10 +32,11 @@ ...@@ -32,10 +32,11 @@
#include "input_manager.hpp" #include "input_manager.hpp"
#include "recents.hpp" #include "recents.hpp"
#include <vlc_keys.h>
#include <vlc_url.h> #include <vlc_keys.h> /* ACTION_ID */
#include <vlc_strings.h> #include <vlc_url.h> /* decode_URI */
#include <vlc_aout.h> #include <vlc_strings.h> /* str_format_meta */
#include <vlc_aout.h> /* audio_output_t */
#include <QApplication> #include <QApplication>
#include <QFile> #include <QFile>
......
...@@ -30,7 +30,6 @@ ...@@ -30,7 +30,6 @@
# include "config.h" # include "config.h"
#endif #endif
#include <vlc_common.h>
#include "timetooltip.hpp" #include "timetooltip.hpp"
#include "styles/seekstyle.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