Refactoring
This commit is contained in:
@@ -32,7 +32,7 @@
|
||||
#include <QAction>
|
||||
#include <QMovie>
|
||||
|
||||
#include "core/scoped_ptr.h"
|
||||
#include "includes/scoped_ptr.h"
|
||||
#include "core/song.h"
|
||||
|
||||
class QTimeLine;
|
||||
@@ -48,7 +48,6 @@ class QPaintEvent;
|
||||
class QResizeEvent;
|
||||
|
||||
class AlbumCoverChoiceController;
|
||||
class Application;
|
||||
|
||||
class PlayingWidget : public QWidget {
|
||||
Q_OBJECT
|
||||
@@ -56,7 +55,7 @@ class PlayingWidget : public QWidget {
|
||||
public:
|
||||
explicit PlayingWidget(QWidget *parent = nullptr);
|
||||
|
||||
void Init(Application *app, AlbumCoverChoiceController *album_cover_choice_controller);
|
||||
void Init(AlbumCoverChoiceController *album_cover_choice_controller);
|
||||
bool IsEnabled() { return enabled_; }
|
||||
void SetEnabled(const bool enabled);
|
||||
void SetEnabled();
|
||||
@@ -102,7 +101,6 @@ class PlayingWidget : public QWidget {
|
||||
void FadePreviousTrack(const qreal value);
|
||||
|
||||
private:
|
||||
Application *app_;
|
||||
AlbumCoverChoiceController *album_cover_choice_controller_;
|
||||
Mode mode_;
|
||||
QMenu *menu_;
|
||||
|
||||
Reference in New Issue
Block a user