fix: output less qt debug stuff in tests (#5253)

This commit is contained in:
pajlada 2024-03-17 15:20:19 +01:00 committed by GitHub
parent c10e364e06
commit dc989a9298
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -23,7 +23,7 @@ int main(int argc, char **argv)
#ifdef SUPPORT_QT_NETWORK_TESTS
QApplication app(argc, argv);
// make sure to always debug-log
QLoggingCategory::setFilterRules("*.debug=true");
QLoggingCategory::setFilterRules("chatterino.*=true");
initResources();
@ -32,7 +32,6 @@ int main(int argc, char **argv)
// Ensure settings are initialized before any tests are run
QTemporaryDir settingsDir;
settingsDir.setAutoRemove(false); // we'll remove it manually
qDebug() << "Settings directory:" << settingsDir.path();
chatterino::Settings settings(settingsDir.path());
QTimer::singleShot(0, [&]() {