Small adjustments in LogManager

This commit is contained in:
k1-801 2021-03-24 17:33:54 +04:00 committed by Adam Honse
parent 460e53368d
commit 1fdd4379a7
4 changed files with 26 additions and 18 deletions

View file

@ -1,6 +1,7 @@
#include "ProfileManager.h"
#include "ResourceManager.h"
#include "RGBController_Dummy.h"
#include "LogManager.h"
#define _SILENCE_EXPERIMENTAL_FILESYSTEM_DEPRECATION_WARNING
#include <experimental/filesystem>
#include <fstream>
@ -379,6 +380,8 @@ void ProfileManager::UpdateProfileList()
{
std::string filename = entry.path().filename().string();
LOG_NOTICE("Loading profile: %s", filename.c_str());
if(filename.find(".orp") != std::string::npos)
{
/*---------------------------------------------------------*\