summaryrefslogtreecommitdiffstats
path: root/kdecore/kpalette.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kdecore/kpalette.cpp')
-rw-r--r--kdecore/kpalette.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/kdecore/kpalette.cpp b/kdecore/kpalette.cpp
index f07ac4228..9cc7b5635 100644
--- a/kdecore/kpalette.cpp
+++ b/kdecore/kpalette.cpp
@@ -66,7 +66,7 @@ KPalette::KPalette(const TQString &name)
// Read first line
// Expected "GIMP Palette"
if (paletteFile.readLine(line, maxLength) == -1) return;
- if (line.tqfind(" Palette") == -1) return;
+ if (line.find(" Palette") == -1) return;
while( paletteFile.readLine(line, maxLength) != -1)
{