From fb702d706823fc11ee8e7d7f1f674afc48bee96b Mon Sep 17 00:00:00 2001 From: sdottaka Date: Sun, 19 May 2013 22:50:26 +0900 Subject: [PATCH] Move loading/saving diff color settings code to OptionsDiffColors.{cpp,h} (2) --- Src/DirView.cpp | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/Src/DirView.cpp b/Src/DirView.cpp index b1d4a5839..91de2cb40 100644 --- a/Src/DirView.cpp +++ b/Src/DirView.cpp @@ -3595,11 +3595,7 @@ void CDirView::RefreshOptions() { m_bEscCloses = GetOptionsMgr()->GetBool(OPT_CLOSE_WITH_ESC); m_bExpandSubdirs = GetOptionsMgr()->GetBool(OPT_DIRVIEW_EXPAND_SUBDIRS); - m_cachedColors.clrTrivialText = GetOptionsMgr()->GetInt(OPT_CLR_TRIVIAL_DIFF_TEXT); - m_cachedColors.clrTrivial = GetOptionsMgr()->GetInt(OPT_CLR_TRIVIAL_DIFF); - m_cachedColors.clrDiffText = GetOptionsMgr()->GetInt(OPT_CLR_DIFF_TEXT); - m_cachedColors.clrDiffDeleted = GetOptionsMgr()->GetInt(OPT_CLR_DIFF_DELETED); - m_cachedColors.clrDiff = GetOptionsMgr()->GetInt(OPT_CLR_DIFF); + Options::DiffColors::Load(m_cachedColors); } /** -- 2.11.0