Commit dd247394 authored by David Edmundson's avatar David Edmundson
Browse files

Guard QQmldebuggingEnabled by an env var

I don't understand why QQmlDebuggingEnabler prints a warning, it's no
less secure until other command line args are passed.

However the warning is scary, so lets put a guard on it.

BUG: 422228
parent b547a755
......@@ -49,7 +49,9 @@
int main(int argc, char *argv[])
QQmlDebuggingEnabler debugger;
if (qEnvironmentVariableIsSet("PLASMA_ENABLE_QML_DEBUG")) {
QQmlDebuggingEnabler debugger;
//Plasma scales itself to font DPI
//on X, where we don't have compositor scaling, this generally works fine.
//also there are bugs on older Qt, especially when it comes to fractional scaling
Supports Markdown
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