WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
Bug 43448
[Qt] [QtTestBrowser] Clean up static and global menu state controls
https://bugs.webkit.org/show_bug.cgi?id=43448
Summary
[Qt] [QtTestBrowser] Clean up static and global menu state controls
Antonio Gomes
Reported
2010-08-03 15:02:57 PDT
The main idea is to have a LauncherData class (as a POD) to suply LauncherWindow class with the data it needs. All static and global related classes would go away in favor of that. Patch coming ...
Attachments
(committed with r64673, r=hausmann|kenneth) patch v1
(24.05 KB, patch)
2010-08-04 09:13 PDT
,
Antonio Gomes
no flags
Details
Formatted Diff
Diff
View All
Add attachment
proposed patch, testcase, etc.
Antonio Gomes
Comment 1
2010-08-04 09:13:35 PDT
Created
attachment 63457
[details]
(committed with
r64673
, r=hausmann|kenneth) patch v1 After LauncherWindow class was refactored out of from main.cpp, all global variables that were anging in main.cpp became temporarily public static class members of newly added LauncherWindow class. This design was not properly handling the initial purpose of the global variables: newly created launcher windows should inherit the settings of the originating one. In order to properly fix the problem, this patch introduces a LauncherData class, as a POD. It comprises all data needed to handling the goal described above.
Kenneth Rohde Christiansen
Comment 2
2010-08-04 09:47:45 PDT
Comment on
attachment 63457
[details]
(committed with
r64673
, r=hausmann|kenneth) patch v1 Why not just make a settings object?
Simon Hausmann
Comment 3
2010-08-04 12:47:09 PDT
Comment on
attachment 63457
[details]
(committed with
r64673
, r=hausmann|kenneth) patch v1 Looks like a nice cleanup :) You could also call it LauncherConfiguration or *Config instead of the generic "Data" :)
Antonio Gomes
Comment 4
2010-08-04 13:05:54 PDT
(In reply to
comment #3
)
> (From update of
attachment 63457
[details]
) > Looks like a nice cleanup :) > > You could also call it LauncherConfiguration or *Config instead of the generic "Data" :)
Kenneth also suggested WindowOptions. What do you think?
Antonio Gomes
Comment 5
2010-08-04 13:31:52 PDT
Comment on
attachment 63457
[details]
(committed with
r64673
, r=hausmann|kenneth) patch v1 Clearing flags on attachment: 63457 Committed
r64673
: <
http://trac.webkit.org/changeset/r64673
>
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug