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;