Refactoring

This commit is contained in:
Jonas Kvinge
2024-10-22 18:12:33 +02:00
parent dfcf715291
commit 8da2b9cd94
623 changed files with 9071 additions and 5126 deletions

View File

@@ -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_;