Remove .debug category since this is autofilled by Qt and used to differentiate between QCDebug and QCWarning and QCError.

This commit is contained in:
Lukas Brübach 2025-01-17 12:11:44 +01:00
parent 26dfd548e4
commit 67b2944078
28 changed files with 71 additions and 71 deletions

View file

@ -1,47 +1,47 @@
[Rules] [Rules]
# Uncomment a rule to disable logging for that category # Uncomment a rule to disable logging for that category
# qt_translator.debug = false // Doesn't work because logging isn't initialized yet in main.cpp # qt_translator = false
# window_main.debug = false window_main.* = false
# release_channel.debug = false release_channel = false
# spoiler_background_updater.debug = false spoiler_background_updater = false
# theme_manager.debug = false theme_manager = false
# sound_engine.debug = false sound_engine = false
# tapped_out_interface.debug = false # tapped_out_interface = false
# tab_game.debug = false # tab_game = false
# tab_message.debug = false # tab_message = false
# tab_supervisor.debug = false # tab_supervisor = false
# dlg_edit_avatar.debug = false # dlg_edit_avatar = false
# dlg_settings.debug = false # dlg_settings = false
# dlg_tip_of_the_day.debug = false # dlg_tip_of_the_day = false
# dlg_update.debug = false # dlg_update = false
# settings_cache.debug = false # settings_cache = false
# servers_settings.debug = false # servers_settings = false
# shortcuts_settings.debug = false # shortcuts_settings = false
# player.debug = false # player = false
# game_scene.debug = false # game_scene = false
# game_scene.debug.player_addition_removal = false # game_scene.player_addition_removal = false
# card_zone.debug = false # card_zone = false
# view_zone.debug = false # view_zone = false
# user_info_connection.debug = false # user_info_connection = false
# picture_loader.* = false picture_loader.* = false
# picture_loader.debug = false # picture_loader = false
# picture_loader.worker.debug = false # picture_loader.worker = false
# deck_loader.debug = false # deck_loader = false
# card_database.debug = false # card_database = false
# card_database.debug.loading = false card_database.loading = false
# card_database.debug.loading.success_or_failure = false # card_database.loading.success_or_failure = false
# cockatrice_xml.debug.* = false cockatrice_xml.* = false
# cockatrice_xml.debug.xml_3_parser = false # cockatrice_xml.xml_3_parser = false
# cockatrice_xml.debug.xml_4_parser = false # cockatrice_xml.xml_4_parser = false
# set_list.debug = false # set_list = false
# card_list.debug = false # card_list = false
# filter_string.debug = false # filter_string = false

View file

@ -8,7 +8,7 @@
#include <QVariantMap> #include <QVariantMap>
#include <utility> #include <utility>
inline Q_LOGGING_CATEGORY(ReleaseChannelLog, "release_channel.debug") inline Q_LOGGING_CATEGORY(ReleaseChannelLog, "release_channel")
class QNetworkReply; class QNetworkReply;
class QNetworkAccessManager; class QNetworkAccessManager;

View file

@ -6,7 +6,7 @@
#include <QObject> #include <QObject>
#include <QProcess> #include <QProcess>
inline Q_LOGGING_CATEGORY(SpoilerBackgroundUpdaterLog, "spoiler_background_updater.debug"); inline Q_LOGGING_CATEGORY(SpoilerBackgroundUpdaterLog, "spoiler_background_updater");
class SpoilerBackgroundUpdater : public QObject class SpoilerBackgroundUpdater : public QObject
{ {

View file

@ -8,7 +8,7 @@
#include <QObject> #include <QObject>
#include <QString> #include <QString>
inline Q_LOGGING_CATEGORY(SoundEngineLog, "sound_engine.debug"); inline Q_LOGGING_CATEGORY(SoundEngineLog, "sound_engine");
class QBuffer; class QBuffer;

View file

@ -12,7 +12,7 @@
#include <QLoggingCategory> #include <QLoggingCategory>
#include <QMap> #include <QMap>
inline Q_LOGGING_CATEGORY(TabGameLog, "tab_game.debug"); inline Q_LOGGING_CATEGORY(TabGameLog, "tab_game");
class UserListProxy; class UserListProxy;
class DeckViewContainer; class DeckViewContainer;

View file

@ -5,7 +5,7 @@
#include <QLoggingCategory> #include <QLoggingCategory>
inline Q_LOGGING_CATEGORY(TabMessageLog, "tab_message.debug"); inline Q_LOGGING_CATEGORY(TabMessageLog, "tab_message");
class AbstractClient; class AbstractClient;
class ChatView; class ChatView;

View file

@ -12,7 +12,7 @@
#include <QProxyStyle> #include <QProxyStyle>
#include <QTabWidget> #include <QTabWidget>
inline Q_LOGGING_CATEGORY(TabSupervisorLog, "tab_supervisor.debug"); inline Q_LOGGING_CATEGORY(TabSupervisorLog, "tab_supervisor");
class UserListManager; class UserListManager;
class QMenu; class QMenu;

View file

@ -7,7 +7,7 @@
#include <QLoggingCategory> #include <QLoggingCategory>
#include <QObject> #include <QObject>
inline Q_LOGGING_CATEGORY(TappedOutInterfaceLog, "tapped_out_interface.debug") inline Q_LOGGING_CATEGORY(TappedOutInterfaceLog, "tapped_out_interface")
class QByteArray; class QByteArray;
class QNetworkAccessManager; class QNetworkAccessManager;

View file

@ -9,7 +9,7 @@
#include <QPixmap> #include <QPixmap>
#include <QString> #include <QString>
inline Q_LOGGING_CATEGORY(ThemeManagerLog, "theme_manager.debug"); inline Q_LOGGING_CATEGORY(ThemeManagerLog, "theme_manager");
typedef QMap<QString, QString> QStringMap; typedef QMap<QString, QString> QStringMap;
typedef QMap<int, QBrush> QBrushMap; typedef QMap<int, QBrush> QBrushMap;

View file

@ -31,11 +31,11 @@
#include <QSystemTrayIcon> #include <QSystemTrayIcon>
#include <QtNetwork> #include <QtNetwork>
inline Q_LOGGING_CATEGORY(WindowMainLog, "window_main.debug"); inline Q_LOGGING_CATEGORY(WindowMainLog, "window_main");
inline Q_LOGGING_CATEGORY(WindowMainStartupLog, "window_main.debug.startup"); inline Q_LOGGING_CATEGORY(WindowMainStartupLog, "window_main.startup");
inline Q_LOGGING_CATEGORY(WindowMainStartupVersionLog, "window_main.debug.startup.version"); inline Q_LOGGING_CATEGORY(WindowMainStartupVersionLog, "window_main.startup.version");
inline Q_LOGGING_CATEGORY(WindowMainStartupShortcutsLog, "window_main.debug.startup.shortcuts"); inline Q_LOGGING_CATEGORY(WindowMainStartupShortcutsLog, "window_main.startup.shortcuts");
inline Q_LOGGING_CATEGORY(WindowMainStartupAutoconnectLog, "window_main.debug.startup.autoconnect"); inline Q_LOGGING_CATEGORY(WindowMainStartupAutoconnectLog, "window_main.startup.autoconnect");
class Release; class Release;
class DlgConnect; class DlgConnect;

View file

@ -6,7 +6,7 @@
#include <QLineEdit> #include <QLineEdit>
#include <QLoggingCategory> #include <QLoggingCategory>
inline Q_LOGGING_CATEGORY(DlgEditAvatarLog, "dlg_edit_avatar.debug") inline Q_LOGGING_CATEGORY(DlgEditAvatarLog, "dlg_edit_avatar")
class QLabel; class QLabel;
class QPushButton; class QPushButton;

View file

@ -12,7 +12,7 @@
#include <QPushButton> #include <QPushButton>
#include <QSpinBox> #include <QSpinBox>
inline Q_LOGGING_CATEGORY(DlgSettingsLog, "dlg_settings.debug"); inline Q_LOGGING_CATEGORY(DlgSettingsLog, "dlg_settings");
class ShortcutTreeView; class ShortcutTreeView;
class SearchLineEdit; class SearchLineEdit;

View file

@ -10,7 +10,7 @@
#include <QPushButton> #include <QPushButton>
#include <QVBoxLayout> #include <QVBoxLayout>
inline Q_LOGGING_CATEGORY(DlgTipOfTheDayLog, "dlg_tip_of_the_day.debug"); inline Q_LOGGING_CATEGORY(DlgTipOfTheDayLog, "dlg_tip_of_the_day");
class QLabel; class QLabel;
class QPushButton; class QPushButton;

View file

@ -8,7 +8,7 @@
#include <QProgressDialog> #include <QProgressDialog>
#include <QtNetwork> #include <QtNetwork>
inline Q_LOGGING_CATEGORY(DlgUpdateLog, "dlg_update.debug"); inline Q_LOGGING_CATEGORY(DlgUpdateLog, "dlg_update");
class Release; class Release;

View file

@ -14,10 +14,10 @@
#include <QVector> #include <QVector>
#include <utility> #include <utility>
inline Q_LOGGING_CATEGORY(SetListLog, "set_list.debug"); inline Q_LOGGING_CATEGORY(SetListLog, "set_list");
inline Q_LOGGING_CATEGORY(CardDatabaseLog, "card_database.debug"); inline Q_LOGGING_CATEGORY(CardDatabaseLog, "card_database");
inline Q_LOGGING_CATEGORY(CardDatabaseLoadingLog, "card_database.debug.loading"); inline Q_LOGGING_CATEGORY(CardDatabaseLoadingLog, "card_database.loading");
inline Q_LOGGING_CATEGORY(CardDatabaseLoadingSuccessOrFailureLog, "card_database.debug.loading.success_or_failure"); inline Q_LOGGING_CATEGORY(CardDatabaseLoadingSuccessOrFailureLog, "card_database.loading.success_or_failure");
class CardDatabase; class CardDatabase;
class CardInfo; class CardInfo;

View file

@ -6,7 +6,7 @@
#include <QLoggingCategory> #include <QLoggingCategory>
#include <QXmlStreamReader> #include <QXmlStreamReader>
inline Q_LOGGING_CATEGORY(CockatriceXml3Log, "cockatrice_xml.debug.xml_3_parser") inline Q_LOGGING_CATEGORY(CockatriceXml3Log, "cockatrice_xml.xml_3_parser")
class CockatriceXml3Parser : public ICardDatabaseParser class CockatriceXml3Parser : public ICardDatabaseParser
{ {

View file

@ -6,7 +6,7 @@
#include <QLoggingCategory> #include <QLoggingCategory>
#include <QXmlStreamReader> #include <QXmlStreamReader>
inline Q_LOGGING_CATEGORY(CockatriceXml4Log, "cockatrice_xml.debug.xml_4_parser") inline Q_LOGGING_CATEGORY(CockatriceXml4Log, "cockatrice_xml.xml_4_parser")
class CockatriceXml4Parser : public ICardDatabaseParser class CockatriceXml4Parser : public ICardDatabaseParser
{ {

View file

@ -4,7 +4,7 @@
#include <QList> #include <QList>
#include <QLoggingCategory> #include <QLoggingCategory>
inline Q_LOGGING_CATEGORY(CardListLog, "card_list.debug"); inline Q_LOGGING_CATEGORY(CardListLog, "card_list");
class CardItem; class CardItem;

View file

@ -10,7 +10,7 @@
#include <functional> #include <functional>
#include <utility> #include <utility>
inline Q_LOGGING_CATEGORY(FilterStringLog, "filter_string.debug"); inline Q_LOGGING_CATEGORY(FilterStringLog, "filter_string");
typedef CardInfoPtr CardData; typedef CardInfoPtr CardData;
typedef std::function<bool(const CardData &)> Filter; typedef std::function<bool(const CardData &)> Filter;

View file

@ -7,8 +7,8 @@
#include <QPointer> #include <QPointer>
#include <QSet> #include <QSet>
inline Q_LOGGING_CATEGORY(GameSceneLog, "game_scene.debug"); inline Q_LOGGING_CATEGORY(GameSceneLog, "game_scene");
inline Q_LOGGING_CATEGORY(GameScenePlayerAdditionRemovalLog, "game_scene.debug.player_addition_removal"); inline Q_LOGGING_CATEGORY(GameScenePlayerAdditionRemovalLog, "game_scene.player_addition_removal");
class Player; class Player;
class ZoneViewWidget; class ZoneViewWidget;

View file

@ -14,7 +14,7 @@
#include <QPoint> #include <QPoint>
#include <QTimer> #include <QTimer>
inline Q_LOGGING_CATEGORY(PlayerLog, "player.debug"); inline Q_LOGGING_CATEGORY(PlayerLog, "player");
namespace google namespace google
{ {

View file

@ -8,7 +8,7 @@
#include <QLoggingCategory> #include <QLoggingCategory>
#include <QString> #include <QString>
inline Q_LOGGING_CATEGORY(CardZoneLog, "card_zone.debug"); inline Q_LOGGING_CATEGORY(CardZoneLog, "card_zone");
class Player; class Player;
class ZoneViewZone; class ZoneViewZone;

View file

@ -7,7 +7,7 @@
#include <QLoggingCategory> #include <QLoggingCategory>
#include <pb/commands.pb.h> #include <pb/commands.pb.h>
inline Q_LOGGING_CATEGORY(ViewZoneLog, "view_zone.debug") inline Q_LOGGING_CATEGORY(ViewZoneLog, "view_zone")
class ZoneViewWidget; class ZoneViewWidget;
class Response; class Response;

View file

@ -5,7 +5,7 @@
#include <QLoggingCategory> #include <QLoggingCategory>
inline Q_LOGGING_CATEGORY(QtTranslatorDebug, "qt_translator.debug"); inline Q_LOGGING_CATEGORY(QtTranslatorDebug, "qt_translator");
class CardDatabase; class CardDatabase;
class QString; class QString;

View file

@ -8,7 +8,7 @@
#include <QSettings> #include <QSettings>
#include <QStandardPaths> #include <QStandardPaths>
inline Q_LOGGING_CATEGORY(UserInfoConnectionLog, "user_info_connection.debug"); inline Q_LOGGING_CATEGORY(UserInfoConnectionLog, "user_info_connection");
class UserConnection_Information class UserConnection_Information
{ {

View file

@ -18,7 +18,7 @@
#include <QSize> #include <QSize>
#include <QStringList> #include <QStringList>
inline Q_LOGGING_CATEGORY(SettingsCacheLog, "settings_cache.debug"); inline Q_LOGGING_CATEGORY(SettingsCacheLog, "settings_cache");
class ReleaseChannel; class ReleaseChannel;

View file

@ -8,7 +8,7 @@
#define SERVERSETTINGS_DEFAULT_HOST "server.cockatrice.us" #define SERVERSETTINGS_DEFAULT_HOST "server.cockatrice.us"
#define SERVERSETTINGS_DEFAULT_PORT "4748" #define SERVERSETTINGS_DEFAULT_PORT "4748"
inline Q_LOGGING_CATEGORY(ServersSettingsLog, "servers_settings.debug"); inline Q_LOGGING_CATEGORY(ServersSettingsLog, "servers_settings");
class ServersSettings : public SettingsManager class ServersSettings : public SettingsManager
{ {

View file

@ -6,7 +6,7 @@
#include <QLoggingCategory> #include <QLoggingCategory>
#include <QSettings> #include <QSettings>
inline Q_LOGGING_CATEGORY(ShortcutsSettingsLog, "shortcuts_settings.debug"); inline Q_LOGGING_CATEGORY(ShortcutsSettingsLog, "shortcuts_settings");
class ShortcutGroup class ShortcutGroup
{ {