From 09ec9a006059ae49eee5463b25f2bb361140fcc6 Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Sat, 12 Jul 2025 18:17:48 +0900 Subject: [PATCH] Use TDESimpleConfig Signed-off-by: Michele Calgaro --- src/backgroundmanager.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/backgroundmanager.cpp b/src/backgroundmanager.cpp index fadef51..fd3916c 100644 --- a/src/backgroundmanager.cpp +++ b/src/backgroundmanager.cpp @@ -21,7 +21,7 @@ #include #include #include -#include +#include #include #include #include @@ -120,7 +120,7 @@ bool BackgroundManager::subscribe(const TQString &image) // Try to load the pixmap: entry->pixmap = new TQPixmap(entry->location); // Try to figure out if it's a tiled background image or not (default to NO): - KSimpleConfig config(entry->location + ".config", /*readOnly=*/true); + TDESimpleConfig config(entry->location + ".config", /*readOnly=*/true); config.setGroup("BasKet Background Image Configuration"); entry->tiled = config.readBoolEntry("tiled", false); } @@ -287,7 +287,7 @@ TQPixmap* BackgroundManager::preview(const TQString &image) // Because, as we are loading the pixmap we ALSO need to know if it's a tile or not, in case that image will soon be used (and not destroyed by the garbager): entry->pixmap = new TQPixmap(entry->location); // Try to figure out if it's a tiled background image or not (default to NO): - KSimpleConfig config(entry->location + ".config", /*readOnly=*/true); + TDESimpleConfig config(entry->location + ".config", /*readOnly=*/true); config.setGroup("BasKet Background Image Configuration"); entry->tiled = config.readBoolEntry("tiled", false); }