mirror of
https://github.com/KDE/konsole.git
synced 2026-05-04 12:44:23 -04:00
Make ViewManager::colorSchemeForProfile() a static method
This commit is contained in:
@@ -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());
|
||||
|
||||
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user