From 0810a265899ba738756591d1da956f4b64b37b25 Mon Sep 17 00:00:00 2001 From: Maarten ter Huurne Date: Thu, 17 Jul 2014 16:52:01 +0200 Subject: [PATCH] Removed unnecessary includes of SDL_gfx header Only surface.cpp actually uses SDL_gfx functions. --- src/gmenu2x.cpp | 1 - src/imagedialog.cpp | 1 - src/inputdialog.cpp | 2 -- src/messagebox.cpp | 2 -- src/selector.cpp | 1 - src/settingsdialog.cpp | 1 - 6 files changed, 8 deletions(-) diff --git a/src/gmenu2x.cpp b/src/gmenu2x.cpp index 1473e42..d0b4de5 100644 --- a/src/gmenu2x.cpp +++ b/src/gmenu2x.cpp @@ -56,7 +56,6 @@ #include #include #include -#include #include #include diff --git a/src/imagedialog.cpp b/src/imagedialog.cpp index 009fa9f..02a28d0 100644 --- a/src/imagedialog.cpp +++ b/src/imagedialog.cpp @@ -25,7 +25,6 @@ #include "utilities.h" #include -#include //for browsing the filesystem #include diff --git a/src/inputdialog.cpp b/src/inputdialog.cpp index 99047ad..8e6df7d 100644 --- a/src/inputdialog.cpp +++ b/src/inputdialog.cpp @@ -27,8 +27,6 @@ #include "surface.h" #include "utilities.h" -#include - using namespace std; #define KEY_WIDTH 20 diff --git a/src/messagebox.cpp b/src/messagebox.cpp index d714cbe..2d26237 100644 --- a/src/messagebox.cpp +++ b/src/messagebox.cpp @@ -22,8 +22,6 @@ #include "gmenu2x.h" #include "surface.h" -#include - #include using namespace std; diff --git a/src/selector.cpp b/src/selector.cpp index e2cee95..3efd8f5 100644 --- a/src/selector.cpp +++ b/src/selector.cpp @@ -29,7 +29,6 @@ #include "utilities.h" #include -#include #include //for browsing the filesystem diff --git a/src/settingsdialog.cpp b/src/settingsdialog.cpp index a7ffb32..cd00b6c 100644 --- a/src/settingsdialog.cpp +++ b/src/settingsdialog.cpp @@ -24,7 +24,6 @@ #include "menusetting.h" #include -#include using namespace std;