Removed some unused includes.
This commit is contained in:
parent
d2240ec0ae
commit
a4ad507704
|
@ -17,6 +17,8 @@
|
||||||
|
|
||||||
#include "cddadevice.h"
|
#include "cddadevice.h"
|
||||||
|
|
||||||
|
#include <QUrl>
|
||||||
|
|
||||||
#include "deviceerror.h"
|
#include "deviceerror.h"
|
||||||
#include "library/librarybackend.h"
|
#include "library/librarybackend.h"
|
||||||
#include "library/librarymodel.h"
|
#include "library/librarymodel.h"
|
||||||
|
@ -40,7 +42,6 @@ CddaDevice::CddaDevice(const QUrl& url, DeviceLister* lister,
|
||||||
SLOT(SongsLoaded(SongList)));
|
SLOT(SongsLoaded(SongList)));
|
||||||
connect(this, SIGNAL(SongsDiscovered(SongList)), model_,
|
connect(this, SIGNAL(SongsDiscovered(SongList)), model_,
|
||||||
SLOT(SongsDiscovered(SongList)));
|
SLOT(SongsDiscovered(SongList)));
|
||||||
// connect(&cd_device_, SIGNAL(DiscChanged()), SLOT(DiscChangeDetected()));
|
|
||||||
cdio_ = cdio_open(url_.path().toLocal8Bit().constData(), DRIVER_DEVICE);
|
cdio_ = cdio_open(url_.path().toLocal8Bit().constData(), DRIVER_DEVICE);
|
||||||
if (!cdio_) {
|
if (!cdio_) {
|
||||||
throw DeviceError(url.toString(),
|
throw DeviceError(url.toString(),
|
||||||
|
|
|
@ -19,7 +19,6 @@
|
||||||
#define CDDADEVICE_H
|
#define CDDADEVICE_H
|
||||||
|
|
||||||
#include <QTimer>
|
#include <QTimer>
|
||||||
#include <QUrl>
|
|
||||||
|
|
||||||
// These must come after Qt includes (issue 3247)
|
// These must come after Qt includes (issue 3247)
|
||||||
#include <cdio/cdio.h>
|
#include <cdio/cdio.h>
|
||||||
|
@ -28,6 +27,8 @@
|
||||||
#include "connecteddevice.h"
|
#include "connecteddevice.h"
|
||||||
#include "core/song.h"
|
#include "core/song.h"
|
||||||
|
|
||||||
|
class QUrl;
|
||||||
|
|
||||||
class CddaDevice : public ConnectedDevice {
|
class CddaDevice : public ConnectedDevice {
|
||||||
Q_OBJECT
|
Q_OBJECT
|
||||||
|
|
||||||
|
|
|
@ -20,11 +20,9 @@
|
||||||
#define SRC_RIPPER_RIPCDDIALOG_H_
|
#define SRC_RIPPER_RIPCDDIALOG_H_
|
||||||
|
|
||||||
#include <QDialog>
|
#include <QDialog>
|
||||||
#include <QFile>
|
|
||||||
#include <memory>
|
#include <memory>
|
||||||
|
|
||||||
#include "core/song.h"
|
#include "core/song.h"
|
||||||
#include "core/tagreaderclient.h"
|
|
||||||
|
|
||||||
class QCheckBox;
|
class QCheckBox;
|
||||||
class QCloseEvent;
|
class QCloseEvent;
|
||||||
|
|
Loading…
Reference in New Issue