Am I missing something in Javascript ?
Harri Porten
porten at kde.org
Wed Nov 13 22:11:00 GMT 2002
On Wed, 13 Nov 2002, David Faure wrote:
> > P.S. Another strange thing is that in both IE and Moz all of
> > the menu's and other window decoration is anabled by default
> > but not in Konq!
>
> Ouch - sounds like a bug. Unspecified argument for the settings should mean
> default, nor none. I'll check that later.
I can't test but the following looks wrong:
// scan feature argument
v = args[2];
QString features;
if (!v.isNull()) {
features = v.toString(exec).qstring();
// specifying window params means false defaults
winargs.menuBarVisible = false;
The isNull() check should be replaced with isUndefined().
Harri.
More information about the kfm-devel
mailing list