diff options
author | Andrei Karas <akaras@inbox.ru> | 2014-08-25 12:54:39 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2014-08-25 12:54:39 +0300 |
commit | 4c0d3dc62399e35c288cb82dfbf3f8811328f06c (patch) | |
tree | 24db2449750712363aa59c5b20807976a90f0771 /src/actions/actions.cpp | |
parent | e5ac29f35d9a0ede9d1263ab1bb7c20568dbdd67 (diff) | |
download | mv-4c0d3dc62399e35c288cb82dfbf3f8811328f06c.tar.gz mv-4c0d3dc62399e35c288cb82dfbf3f8811328f06c.tar.bz2 mv-4c0d3dc62399e35c288cb82dfbf3f8811328f06c.tar.xz mv-4c0d3dc62399e35c288cb82dfbf3f8811328f06c.zip |
Move chat command /cleanfonts into actions.
Diffstat (limited to 'src/actions/actions.cpp')
-rw-r--r-- | src/actions/actions.cpp | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/src/actions/actions.cpp b/src/actions/actions.cpp index ae9a21b76..188a46ea1 100644 --- a/src/actions/actions.cpp +++ b/src/actions/actions.cpp @@ -556,4 +556,16 @@ impHandler0(cleanGraphics) return true; } +impHandler0(cleanFonts) +{ + if (gui) + gui->clearFonts(); + if (debugChatTab) + { + // TRANSLATORS: clear fonts cache message + debugChatTab->chatLog(_("Cache cleaned")); + } + return true; +} + } // namespace Actions |