[Webkit-unassigned] [Bug 29188] [Qt] Add persistence support for the "Always enable" options in the inspector

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Sep 11 17:54:36 PDT 2009


https://bugs.webkit.org/show_bug.cgi?id=29188





--- Comment #1 from Timothy Hatcher <timothy at hatcher.name>  2009-09-11 17:54:36 PDT ---
(From update of attachment 39442)

> +    if (key == "resourceTrackingEnabled")
> +        setting = InspectorController::Setting(qsettings.value(QLatin1String("Qt/QtWebKit/QWebInspector/resourceTrackingEnabled")).toBool());
> +    else if (key == "debuggerEnabled")
> +        setting = InspectorController::Setting(qsettings.value(QLatin1String("Qt/QtWebKit/QWebInspector/debuggerEnabled")).toBool());
> +    else if (key == "profilerEnabled")
> +        setting = InspectorController::Setting(qsettings.value(QLatin1String("Qt/QtWebKit/QWebInspector/profilerEnabled")).toBool());

Can you dynamically generate the setting key path? There will be more settings
added to the inspector, and making it dynamic will let them work automatically.

(There is a setting that landed recently for the color format pref.)

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list