From 0d0eebe3653d700135d7e92a90f85e8012c2c550 Mon Sep 17 00:00:00 2001 From: Maarten ter Huurne Date: Mon, 12 Aug 2013 05:04:20 +0200 Subject: [PATCH] Made Link/LinkApp::searchIcon() protected (instead of public) --- src/link.h | 2 +- src/linkapp.h | 4 +++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/src/link.h b/src/link.h index 99797ab..4d537d8 100644 --- a/src/link.h +++ b/src/link.h @@ -50,6 +50,7 @@ protected: Surface *iconSurface; Surface *icon_hover; + virtual const std::string &searchIcon(); void setIconPath(const std::string &icon); void updateSurfaces(); @@ -61,7 +62,6 @@ public: virtual bool paintHover(); virtual void loadIcon(); - virtual const std::string &searchIcon(); void setSize(int w, int h); void setPosition(int x, int y); diff --git a/src/linkapp.h b/src/linkapp.h index e9ad5bf..f11a291 100644 --- a/src/linkapp.h +++ b/src/linkapp.h @@ -57,6 +57,9 @@ private: const std::string &selectedFile = "", const std::string &selectedDir = ""); +protected: + virtual const std::string &searchIcon(); + public: #ifdef HAVE_LIBOPK const std::string &getCategory() { return category; } @@ -72,7 +75,6 @@ public: #endif virtual void loadIcon(); - virtual const std::string &searchIcon(); #if defined(PLATFORM_A320) || defined(PLATFORM_GCW0) bool consoleApp;