Switch to QT Category logging (#2206)
Co-authored-by: Rasmus Karlsson <rasmus.karlsson@pajlada.com>
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
#include "common/WindowDescriptors.hpp"
|
||||
|
||||
#include "common/QLogging.hpp"
|
||||
#include "widgets/Window.hpp"
|
||||
|
||||
namespace chatterino {
|
||||
@@ -126,7 +127,7 @@ WindowLayout WindowLayout::loadFromFile(const QString &path)
|
||||
{
|
||||
if (hasSetAMainWindow)
|
||||
{
|
||||
qDebug()
|
||||
qCDebug(chatterinoCommon)
|
||||
<< "Window Layout file contains more than one Main window "
|
||||
"- demoting to Popup type";
|
||||
type = WindowType::Popup;
|
||||
@@ -180,8 +181,9 @@ WindowLayout WindowLayout::loadFromFile(const QString &path)
|
||||
{
|
||||
if (hasSetASelectedTab)
|
||||
{
|
||||
qDebug() << "Window contains more than one selected tab - "
|
||||
"demoting to unselected";
|
||||
qCDebug(chatterinoCommon)
|
||||
<< "Window contains more than one selected tab - "
|
||||
"demoting to unselected";
|
||||
tab.selected_ = false;
|
||||
}
|
||||
hasSetASelectedTab = true;
|
||||
|
||||
Reference in New Issue
Block a user