Small adjustments in LogManager
This commit is contained in:
parent
460e53368d
commit
1fdd4379a7
4 changed files with 26 additions and 18 deletions
|
|
@ -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)
|
||||
{
|
||||
/*---------------------------------------------------------*\
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue