From 0b10a7a119fc9403d33207cb0e3d92a4bfa1d602 Mon Sep 17 00:00:00 2001 From: ronso0 Date: Thu, 11 Aug 2022 12:46:52 +0200 Subject: [PATCH] remove obsolete includes & forward declarations from pref dialogs --- src/preferences/dialog/dlgprefdeck.cpp | 1 - src/preferences/dialog/dlgprefdeck.h | 4 ---- src/preferences/dialog/dlgprefinterface.cpp | 2 +- src/preferences/dialog/dlgprefwaveform.cpp | 1 - 4 files changed, 1 insertion(+), 7 deletions(-) diff --git a/src/preferences/dialog/dlgprefdeck.cpp b/src/preferences/dialog/dlgprefdeck.cpp index 73ab9c39988..28a97ec781e 100644 --- a/src/preferences/dialog/dlgprefdeck.cpp +++ b/src/preferences/dialog/dlgprefdeck.cpp @@ -15,7 +15,6 @@ #include "mixer/basetrackplayer.h" #include "mixer/playerinfo.h" #include "mixer/playermanager.h" -#include "mixxxmainwindow.h" #include "moc_dlgprefdeck.cpp" #include "preferences/usersettings.h" #include "util/duration.h" diff --git a/src/preferences/dialog/dlgprefdeck.h b/src/preferences/dialog/dlgprefdeck.h index ac885b5c981..2d6cf74d95d 100644 --- a/src/preferences/dialog/dlgprefdeck.h +++ b/src/preferences/dialog/dlgprefdeck.h @@ -12,10 +12,6 @@ #include "util/parented_ptr.h" class ControlProxy; -class ControlPotmeter; -class SkinLoader; -class PlayerManager; -class MixxxMainWindow; class ControlObject; namespace { diff --git a/src/preferences/dialog/dlgprefinterface.cpp b/src/preferences/dialog/dlgprefinterface.cpp index e05270206a6..b70af7c8080 100644 --- a/src/preferences/dialog/dlgprefinterface.cpp +++ b/src/preferences/dialog/dlgprefinterface.cpp @@ -11,12 +11,12 @@ #include "control/controlobject.h" #include "control/controlproxy.h" #include "defs_urls.h" -#include "mixxxmainwindow.h" #include "moc_dlgprefinterface.cpp" #include "preferences/usersettings.h" #include "skin/legacy/legacyskinparser.h" #include "skin/skin.h" #include "skin/skinloader.h" +#include "util/cmdlineargs.h" #include "util/screensaver.h" #include "util/screensavermanager.h" #include "util/widgethelper.h" diff --git a/src/preferences/dialog/dlgprefwaveform.cpp b/src/preferences/dialog/dlgprefwaveform.cpp index 00c43630c79..284cbc4b2b3 100644 --- a/src/preferences/dialog/dlgprefwaveform.cpp +++ b/src/preferences/dialog/dlgprefwaveform.cpp @@ -2,7 +2,6 @@ #include "library/dao/analysisdao.h" #include "library/library.h" -#include "mixxxmainwindow.h" #include "moc_dlgprefwaveform.cpp" #include "preferences/waveformsettings.h" #include "util/db/dbconnectionpooled.h"