Make ViewManager::colorSchemeForProfile() a static method

This commit is contained in:
Jekyll Wu
2012-03-17 12:53:53 +08:00
parent 38d346e60c
commit 35da7697ec
2 changed files with 2 additions and 2 deletions

View File

@@ -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());

View File

@@ -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();