Commit b6aab442 authored by Supernature2k's avatar Supernature2k

fix missing video tag in ThemeData

parent 7bdd6a52
......@@ -8,6 +8,7 @@
#include "pugixml/pugixml.hpp"
#include <boost/assign.hpp>
#include <boost/algorithm/string/replace.hpp>
#include <components/VideoComponent.h>
#include "components/ImageComponent.h"
#include "components/TextComponent.h"
......@@ -728,6 +729,10 @@ std::vector<GuiComponent*> ThemeData::makeExtras(const std::shared_ptr<ThemeData
const std::string& t = elem.type;
if(t == "image")
comp = new ImageComponent(window);
else if (t == "video")
comp = new VideoComponent(window);
else if(t == "text")
comp = new TextComponent(window);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment