mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 04:27:45 +00:00
ClockSettings: Add a factory function for TimeZoneSettingsWidget
This removes an unbelievable 4 FIXMEs :))
This commit is contained in:
parent
27a1798dd9
commit
626142c312
3 changed files with 25 additions and 14 deletions
|
@ -14,7 +14,9 @@
|
|||
#include <LibGUI/Window.h>
|
||||
|
||||
class TimeZoneSettingsWidget final : public GUI::SettingsWindow::Tab {
|
||||
C_OBJECT(TimeZoneSettingsWidget)
|
||||
C_OBJECT_ABSTRACT(TimeZoneSettingsWidget)
|
||||
public:
|
||||
static ErrorOr<NonnullRefPtr<TimeZoneSettingsWidget>> create();
|
||||
|
||||
private:
|
||||
TimeZoneSettingsWidget();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue