Remove duplicated and hardcoded callings.

Such settings about TerminalDisplay should go into applyProfileToView(),
and refers the profile for right value(if possible).
This commit is contained in:
Jekyll Wu
2011-10-10 16:56:47 +08:00
parent b83b0c5419
commit dcd042270f

View File

@@ -802,9 +802,6 @@ TerminalDisplay* ViewManager::createTerminalDisplay(Session* session)
//TODO Temporary settings used here
display->setBellMode(TerminalDisplay::NotifyBell);
display->setShowTerminalSizeHint(true);
display->setTripleClickMode(TerminalDisplay::SelectWholeLine);
display->setScrollBarPosition(TerminalDisplay::ScrollBarRight);
display->setRandomSeed(session->sessionId() * 31);
return display;