mirror of
https://github.com/edubart/otclient.git
synced 2025-10-14 19:44:54 +02:00
fix compile isses
This commit is contained in:
@@ -27,6 +27,7 @@
|
||||
#include "../const.h"
|
||||
#include <vector>
|
||||
#include <functional>
|
||||
#include <list>
|
||||
|
||||
struct LogMessage {
|
||||
LogMessage(Fw::LogLevel level, const std::string& message, std::size_t when) : level(level), message(message), when(when) { }
|
||||
|
@@ -131,9 +131,13 @@ void UIManager::importStyleFromOTML(const OTMLNodePtr& styleNode)
|
||||
boost::trim(name);
|
||||
boost::trim(base);
|
||||
|
||||
// TODO: styles must be searched by widget scopes, in that way this warning could be fixed
|
||||
// disable this warning because many ppl was complening about it
|
||||
/*
|
||||
auto it = m_styles.find(name);
|
||||
if(it != m_styles.end())
|
||||
logWarning("style '", name, "' is being redefined");
|
||||
*/
|
||||
|
||||
OTMLNodePtr style = getStyle(base)->clone();
|
||||
style->merge(styleNode);
|
||||
|
Reference in New Issue
Block a user