summaryrefslogtreecommitdiffstats
path: root/kcontrol/background/bgsettings.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kcontrol/background/bgsettings.cpp')
-rw-r--r--kcontrol/background/bgsettings.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/kcontrol/background/bgsettings.cpp b/kcontrol/background/bgsettings.cpp
index 818a00f31..c98376cc4 100644
--- a/kcontrol/background/bgsettings.cpp
+++ b/kcontrol/background/bgsettings.cpp
@@ -148,7 +148,7 @@ bool KBackgroundPattern::isAvailable()
if (m_Pattern.isEmpty())
return false;
TQString file = m_Pattern;
- if (file.at(0) != '/')
+ if (file.tqat(0) != '/')
file = m_pDirs->findResource("dtop_pattern", file);
TQFileInfo fi(file);
return (fi.exists());
@@ -895,7 +895,7 @@ void KBackgroundSettings::randomizeWallpaperFiles()
tmpList.pop_front();
while(tmpList.count())
{
- randomList.insert(randomList.at(
+ randomList.insert(randomList.tqat(
rseq.getLong(randomList.count()+1)),
1, tmpList.front());
@@ -985,7 +985,7 @@ bool KBackgroundSettings::discardCurrentWallpaper()
{
return false;
}
- m_WallpaperFiles.remove(m_WallpaperFiles.at(m_CurrentWallpaper));
+ m_WallpaperFiles.remove(m_WallpaperFiles.tqat(m_CurrentWallpaper));
--m_CurrentWallpaper;
changeWallpaper();