diff options
author | Treeki <treeki@gmail.com> | 2012-08-11 14:07:27 +0200 |
---|---|---|
committer | Treeki <treeki@gmail.com> | 2012-08-11 14:07:27 +0200 |
commit | b8b4afa08efcd77f4e43898b4d8d5323484ce2f4 (patch) | |
tree | 6f3966982a774b739722dd43afb56c69655341ae /lsglobals.cpp | |
parent | ba44b0135af54aebee08610debbc2ef118f98bf2 (diff) | |
parent | 6025cf1356f25727cb8a04eed413d87720b2fb1f (diff) | |
download | LayoutStudio-b8b4afa08efcd77f4e43898b4d8d5323484ce2f4.tar.gz LayoutStudio-b8b4afa08efcd77f4e43898b4d8d5323484ce2f4.zip |
ahh what happened - Merge branch 'master' of github.com:Treeki/LayoutStudio
Diffstat (limited to 'lsglobals.cpp')
-rw-r--r-- | lsglobals.cpp | 12 |
1 files changed, 0 insertions, 12 deletions
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<QString, QIcon> LSGlobals::m_icons; -QHash<QString, QString> 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)); -} |