1
0
mirror of https://github.com/clementine-player/Clementine synced 2024-12-23 08:20:01 +01:00

Removed some unused includes.

This commit is contained in:
Lukas Prediger 2021-06-04 18:44:10 +03:00 committed by John Maguire
parent d2240ec0ae
commit a4ad507704
3 changed files with 4 additions and 4 deletions

View File

@ -17,6 +17,8 @@
#include "cddadevice.h"
#include <QUrl>
#include "deviceerror.h"
#include "library/librarybackend.h"
#include "library/librarymodel.h"
@ -40,7 +42,6 @@ CddaDevice::CddaDevice(const QUrl& url, DeviceLister* lister,
SLOT(SongsLoaded(SongList)));
connect(this, SIGNAL(SongsDiscovered(SongList)), model_,
SLOT(SongsDiscovered(SongList)));
// connect(&cd_device_, SIGNAL(DiscChanged()), SLOT(DiscChangeDetected()));
cdio_ = cdio_open(url_.path().toLocal8Bit().constData(), DRIVER_DEVICE);
if (!cdio_) {
throw DeviceError(url.toString(),

View File

@ -19,7 +19,6 @@
#define CDDADEVICE_H
#include <QTimer>
#include <QUrl>
// These must come after Qt includes (issue 3247)
#include <cdio/cdio.h>
@ -28,6 +27,8 @@
#include "connecteddevice.h"
#include "core/song.h"
class QUrl;
class CddaDevice : public ConnectedDevice {
Q_OBJECT

View File

@ -20,11 +20,9 @@
#define SRC_RIPPER_RIPCDDIALOG_H_
#include <QDialog>
#include <QFile>
#include <memory>
#include "core/song.h"
#include "core/tagreaderclient.h"
class QCheckBox;
class QCloseEvent;