From dcd042270f8b759926673b43e014fd62e28d0d35 Mon Sep 17 00:00:00 2001 From: Jekyll Wu Date: Mon, 10 Oct 2011 16:56:47 +0800 Subject: [PATCH] Remove duplicated and hardcoded callings. Such settings about TerminalDisplay should go into applyProfileToView(), and refers the profile for right value(if possible). --- src/ViewManager.cpp | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/ViewManager.cpp b/src/ViewManager.cpp index f6cdc87e4..5651bc760 100644 --- a/src/ViewManager.cpp +++ b/src/ViewManager.cpp @@ -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;