mirror of
https://github.com/KDE/konsole.git
synced 2026-05-19 12:09:25 -04:00
Add profile option to disable underlining links.
Add a configuration item that allows disabling of the underlined links on mouse hover. The option is profile specific and defaults to the previous behaviour where links are underlined on hover. Patch by Amand Tihon <amand.tihon@alrj.com> BUG: 174261 FIXED-IN: 4.7 CCMAIL: amand.tihon@alrj.com
This commit is contained in:
@@ -867,6 +867,8 @@ void ViewManager::applyProfile(TerminalDisplay* view , const Profile::Ptr info,
|
||||
|
||||
bool tripleClickMode = info->property<bool>(Profile::TripleClickMode);
|
||||
view->setTripleClickMode(tripleClickMode ? TerminalDisplay::SelectForwardsFromCursor : TerminalDisplay::SelectWholeLine);
|
||||
|
||||
view->setUnderlineLinks(info->property<bool>(Profile::UnderlineLinksEnabled));
|
||||
|
||||
bool bidiEnabled = info->property<bool>(Profile::BidiRenderingEnabled);
|
||||
view->setBidiEnabled(bidiEnabled);
|
||||
|
||||
Reference in New Issue
Block a user