forked from qt-creator/qt-creator
Terminal: Fix build with QTC_STATIC_BUILD
The `log` Q_LOGGING_CATEGORY was used in a different place, and would conflict in a static build. Change-Id: Id23722a2aca3ea9afb846d8dd75aed9972c7b16f Reviewed-by: <github-actions-qt-creator@cristianadam.eu> Reviewed-by: Eike Ziller <eike.ziller@qt.io> Reviewed-by: Marcus Tillmanns <marcus.tillmanns@qt.io>
This commit is contained in:
@@ -12,10 +12,10 @@
|
||||
|
||||
#include <QLoggingCategory>
|
||||
|
||||
Q_LOGGING_CATEGORY(log, "qtc.terminal.surface", QtWarningMsg);
|
||||
|
||||
namespace Terminal::Internal {
|
||||
|
||||
Q_LOGGING_CATEGORY(log, "qtc.terminal.surface", QtWarningMsg);
|
||||
|
||||
QColor toQColor(const VTermColor &c)
|
||||
{
|
||||
return QColor(qRgb(c.rgb.red, c.rgb.green, c.rgb.blue));
|
||||
|
||||
Reference in New Issue
Block a user