Commit ff63e4ec authored by Boudewijn Rempt's avatar Boudewijn Rempt

Disable debug by default, but warnings are on.

parent c4b70e22
...@@ -67,10 +67,11 @@ extern "C" int main(int argc, char **argv) ...@@ -67,10 +67,11 @@ extern "C" int main(int argc, char **argv)
* See: http://doc.qt.io/qt-5/qloggingcategory.html * See: http://doc.qt.io/qt-5/qloggingcategory.html
*/ */
QLoggingCategory::setFilterRules("calligra*=false\n" QLoggingCategory::setFilterRules("calligra*=false\n"
"krita*=false\n" "calligra*.warning=true\n"
"krita*.debug=false\n"
"krita*.warning=true\n"
"krita.tabletlog=true"); "krita.tabletlog=true");
// A per-user unique string, without /, because QLocalServer cannot use names with a / in it // A per-user unique string, without /, because QLocalServer cannot use names with a / in it
QString key = "Krita3" + QString key = "Krita3" +
QDesktopServices::storageLocation(QDesktopServices::HomeLocation).replace("/", "_"); QDesktopServices::storageLocation(QDesktopServices::HomeLocation).replace("/", "_");
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment