From 6025cf1356f25727cb8a04eed413d87720b2fb1f Mon Sep 17 00:00:00 2001 From: Treeki Date: Thu, 9 Aug 2012 16:48:09 +0200 Subject: forgot to commit this when I last worked on it :x --- lsglobals.cpp | 12 ------------ 1 file changed, 12 deletions(-) (limited to 'lsglobals.cpp') diff --git a/lsglobals.cpp b/lsglobals.cpp index 2ad83ca..07f505e 100644 --- a/lsglobals.cpp +++ b/lsglobals.cpp @@ -19,7 +19,6 @@ bool LSGlobals::m_loaded = false; QHash LSGlobals::m_icons; -QHash LSGlobals::m_pane_icon_names; bool LSGlobals::setup() { @@ -35,13 +34,6 @@ bool LSGlobals::setup() { loadIcon("bounding"); loadIcon("window"); - // Set up pane type mapping - m_pane_icon_names["pan1"] = "pane"; - m_pane_icon_names["pic1"] = "picture"; - m_pane_icon_names["txt1"] = "textbox"; - m_pane_icon_names["bnd1"] = "bounding"; - m_pane_icon_names["wnd1"] = "window"; - m_loaded = true; @@ -58,7 +50,3 @@ bool LSGlobals::loadIcon(QString name) { QIcon LSGlobals::getIcon(QString name) { return m_icons.value(name); } - -QIcon LSGlobals::getIconForPaneType(QString type) { - return m_icons.value(m_pane_icon_names.value(type)); -} -- cgit v1.2.3