[Webkit-unassigned] [Bug 35155] [Qt] Allow QtLauncher to be started without Plugin support

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Feb 22 10:01:16 PST 2010


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





--- Comment #11 from Casper van Donderen <casper.vandonderen at gmail.com>  2010-02-22 10:01:16 PST ---
Well,

if I first enable the default settings (when gNoPlugins = 0) you can never
start the application without the plugins.

So either it became:
if (args.contains("-no-plugins"))
    QWebSettings::globalSettings()->setAttribute(QWebSettings::PluginsEnabled,
false);

or change the order to

handleUserOptions();
applyDefaultSettings();

Since there will be no harm from the second option and the first option seemed
slower (which would set the attribute twice) I decided to do it like this.

-- 
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