Remove legacy GENERAL log channel

Add some more log channels instead.
This commit is contained in:
Nekotekina 2020-02-01 07:15:50 +03:00
parent efafda2650
commit d9a0619ddd
26 changed files with 269 additions and 221 deletions

View file

@ -22,6 +22,8 @@
#include <QPainter>
#include <QScreen>
LOG_CHANNEL(gui_log);
namespace
{
// Helper converters
@ -254,7 +256,7 @@ void save_manager_dialog::UpdateList()
QPixmap icon = QPixmap(320, 176);
if (!icon.loadFromData(entry.iconBuf.data(), static_cast<uint>(entry.iconBuf.size())))
{
LOG_WARNING(GENERAL, "Loading icon for save %s failed", entry.dirName);
gui_log.warning("Loading icon for save %s failed", entry.dirName);
icon = QPixmap(320, 176);
icon.fill(m_icon_color);
}