From 3c29c43f44d6ce9c9a48b92d102742b6845b3dec Mon Sep 17 00:00:00 2001 From: Martchus Date: Mon, 25 Apr 2016 22:07:31 +0200 Subject: [PATCH] overall code cleanup --- application/main.cpp | 3 --- gui/initiate.cpp | 3 --- gui/settings.cpp | 5 +---- network/groovesharkdownload.cpp | 3 --- network/youtubedownload.cpp | 3 --- 5 files changed, 1 insertion(+), 16 deletions(-) diff --git a/application/main.cpp b/application/main.cpp index e567918..9b749bc 100644 --- a/application/main.cpp +++ b/application/main.cpp @@ -1,10 +1,7 @@ #include "../cli/mainfeatures.h" #include "../gui/initiate.h" -// include configuration from separate header file when building with CMake -#ifndef APP_METADATA_AVAIL #include "resources/config.h" -#endif #if defined(GUI_QTWIDGETS) || defined(GUI_QTQUICK) # include diff --git a/gui/initiate.cpp b/gui/initiate.cpp index ae05845..31c5c49 100644 --- a/gui/initiate.cpp +++ b/gui/initiate.cpp @@ -2,10 +2,7 @@ #include "./settings.h" #include "./mainwindow.h" -// include configuration from separate header file when building with CMake -#ifndef APP_METADATA_AVAIL #include "resources/config.h" -#endif #include #include diff --git a/gui/settings.cpp b/gui/settings.cpp index a4cd9d2..13ce18f 100644 --- a/gui/settings.cpp +++ b/gui/settings.cpp @@ -3,10 +3,7 @@ #include "../network/download.h" #include "../network/groovesharkdownload.h" -// include configuration from separate header file when building with CMake -#ifndef APP_METADATA_AVAIL -# include "resources/config.h" -#endif +#include "resources/config.h" #include #include diff --git a/network/groovesharkdownload.cpp b/network/groovesharkdownload.cpp index 389d943..98c2f4a 100644 --- a/network/groovesharkdownload.cpp +++ b/network/groovesharkdownload.cpp @@ -2,10 +2,7 @@ #include "../application/utils.h" -// include configuration from separate header file when building with CMake -#ifndef APP_METADATA_AVAIL #include "resources/config.h" -#endif #include #include diff --git a/network/youtubedownload.cpp b/network/youtubedownload.cpp index fe2552e..f55d549 100644 --- a/network/youtubedownload.cpp +++ b/network/youtubedownload.cpp @@ -2,10 +2,7 @@ #include "../application/utils.h" -// include configuration from separate header file when building with CMake -#ifndef APP_METADATA_AVAIL #include "resources/config.h" -#endif #include