Changeset View
Changeset View
Standalone View
Standalone View
src/ViewManager.cpp
Show First 20 Lines • Show All 966 Lines • ▼ Show 20 Line(s) | 876 | { | |||
---|---|---|---|---|---|
967 | // word characters | 967 | // word characters | ||
968 | view->setWordCharacters(profile->wordCharacters()); | 968 | view->setWordCharacters(profile->wordCharacters()); | ||
969 | 969 | | |||
970 | // bell mode | 970 | // bell mode | ||
971 | view->setBellMode(profile->property<int>(Profile::BellMode)); | 971 | view->setBellMode(profile->property<int>(Profile::BellMode)); | ||
972 | 972 | | |||
973 | // mouse wheel zoom | 973 | // mouse wheel zoom | ||
974 | view->setMouseWheelZoom(profile->mouseWheelZoomEnabled()); | 974 | view->setMouseWheelZoom(profile->mouseWheelZoomEnabled()); | ||
975 | | ||||
976 | view->setAlternateScrolling(profile->property<bool>(Profile::AlternateScrolling)); | ||||
975 | } | 977 | } | ||
976 | 978 | | |||
977 | void ViewManager::updateViewsForSession(Session *session) | 979 | void ViewManager::updateViewsForSession(Session *session) | ||
978 | { | 980 | { | ||
979 | const Profile::Ptr profile = SessionManager::instance()->sessionProfile(session); | 981 | const Profile::Ptr profile = SessionManager::instance()->sessionProfile(session); | ||
980 | 982 | | |||
981 | const QList<TerminalDisplay *> sessionMapKeys = _sessionMap.keys(session); | 983 | const QList<TerminalDisplay *> sessionMapKeys = _sessionMap.keys(session); | ||
982 | foreach (TerminalDisplay *view, sessionMapKeys) { | 984 | foreach (TerminalDisplay *view, sessionMapKeys) { | ||
▲ Show 20 Lines • Show All 321 Lines • Show Last 20 Lines |