1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 14:17:36 +00:00

ClockSettings: Add a factory function for TimeZoneSettingsWidget

This removes an unbelievable 4 FIXMEs :))
This commit is contained in:
Baitinq 2022-12-15 01:58:33 +01:00 committed by Sam Atkins
parent 27a1798dd9
commit 626142c312
3 changed files with 25 additions and 14 deletions

View file

@ -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();