Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions src/wallpaper/wallpaperconfig.h
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,10 @@

class WallpaperWorkspaceConfig {
public:
int workspaceId;
int workspaceId = 0;
QString desktopWallpaper;
TreelandWallpaperInterfaceV1::WallpaperType desktopWallpapertype;
bool enable;
TreelandWallpaperInterfaceV1::WallpaperType desktopWallpapertype = TreelandWallpaperInterfaceV1::Image;
bool enable = true;

QJsonObject toJson() const;

Expand All @@ -26,8 +26,8 @@ class WallpaperOutputConfig {
QString outputName;
QString lockscreenWallpaper;
QList<WallpaperWorkspaceConfig> workspaces;
TreelandWallpaperInterfaceV1::WallpaperType lockScreenWallpapertype;
bool enable;
TreelandWallpaperInterfaceV1::WallpaperType lockScreenWallpapertype = TreelandWallpaperInterfaceV1::Image;
bool enable = true;

QJsonObject toJson() const;
bool containsWorkspace(int id) const;
Expand Down
Loading