diff --git a/src/ViewManager.cpp b/src/ViewManager.cpp index d48811bf3..255b1fe7e 100644 --- a/src/ViewManager.cpp +++ b/src/ViewManager.cpp @@ -759,7 +759,7 @@ TerminalDisplay* ViewManager::createTerminalDisplay(Session* session) return display; } -const ColorScheme* ViewManager::colorSchemeForProfile(const Profile::Ptr profile) const +const ColorScheme* ViewManager::colorSchemeForProfile(const Profile::Ptr profile) { const ColorScheme* colorScheme = ColorSchemeManager::instance()-> findColorScheme(profile->colorScheme()); diff --git a/src/ViewManager.h b/src/ViewManager.h index b925d0bfe..82d371a84 100644 --- a/src/ViewManager.h +++ b/src/ViewManager.h @@ -345,7 +345,7 @@ private slots: private: void createView(Session* session, ViewContainer* container, int index); - const ColorScheme* colorSchemeForProfile(const Profile::Ptr profile) const; + static const ColorScheme* colorSchemeForProfile(const Profile::Ptr profile); void setupActions(); void focusActiveView();