mirror of
https://github.com/Chatterino/chatterino2.git
synced 2024-11-13 19:49:51 +01:00
fix: output less qt debug stuff in tests (#5253)
This commit is contained in:
parent
c10e364e06
commit
dc989a9298
|
@ -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, [&]() {
|
||||
|
|
Loading…
Reference in a new issue