From e6ab3a4ba9038e3e3891beddee35e0f93d272776 Mon Sep 17 00:00:00 2001 From: Rob Cutmore Date: Sun, 17 Apr 2016 06:57:02 -0400 Subject: [PATCH] Remove unused CSVWorld::ScriptEdit::setMonoFont --- apps/opencs/view/world/scriptedit.cpp | 8 -------- apps/opencs/view/world/scriptedit.hpp | 1 - 2 files changed, 9 deletions(-) diff --git a/apps/opencs/view/world/scriptedit.cpp b/apps/opencs/view/world/scriptedit.cpp index 6dc0c2f0c..6f27d5656 100644 --- a/apps/opencs/view/world/scriptedit.cpp +++ b/apps/opencs/view/world/scriptedit.cpp @@ -121,14 +121,6 @@ void CSVWorld::ScriptEdit::showLineNum(bool show) } } -void CSVWorld::ScriptEdit::setMonoFont(bool show) -{ - if(show) - setFont(mMonoFont); - else - setFont(mDefaultFont); -} - bool CSVWorld::ScriptEdit::isChangeLocked() const { return mChangeLocked!=0; diff --git a/apps/opencs/view/world/scriptedit.hpp b/apps/opencs/view/world/scriptedit.hpp index 9d2062075..4977ed8e0 100644 --- a/apps/opencs/view/world/scriptedit.hpp +++ b/apps/opencs/view/world/scriptedit.hpp @@ -72,7 +72,6 @@ namespace CSVWorld void lineNumberAreaPaintEvent(QPaintEvent *event); int lineNumberAreaWidth(); void showLineNum(bool show); - void setMonoFont(bool show); protected: