Switch to QT Category logging (#2206)
Co-authored-by: Rasmus Karlsson <rasmus.karlsson@pajlada.com>
This commit is contained in:
@@ -7,6 +7,7 @@
|
||||
|
||||
#include <QTimer>
|
||||
#include <QVBoxLayout>
|
||||
#include "common/QLogging.hpp"
|
||||
|
||||
#ifdef USEWINSDK
|
||||
# include "util/WindowsHelper.hpp"
|
||||
@@ -192,7 +193,8 @@ void AttachedWindow::attachToHwnd(void *_attachedPtr)
|
||||
!qfilename.endsWith("brave.exe"))
|
||||
|
||||
{
|
||||
qDebug() << "NM Illegal caller" << qfilename;
|
||||
qCWarning(chatterinoWidget)
|
||||
<< "NM Illegal caller" << qfilename;
|
||||
this->timer_.stop();
|
||||
this->deleteLater();
|
||||
return;
|
||||
@@ -241,7 +243,7 @@ void AttachedWindow::updateWindowRect(void *_attachedPtr)
|
||||
|
||||
if (::GetLastError() != 0)
|
||||
{
|
||||
qDebug() << "NM GetLastError()" << ::GetLastError();
|
||||
qCWarning(chatterinoWidget) << "NM GetLastError()" << ::GetLastError();
|
||||
|
||||
this->timer_.stop();
|
||||
this->deleteLater();
|
||||
|
||||
Reference in New Issue
Block a user