summaryrefslogtreecommitdiffstats
path: root/src/libgui/likeback.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/libgui/likeback.cpp')
-rw-r--r--src/libgui/likeback.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/libgui/likeback.cpp b/src/libgui/likeback.cpp
index c174bbc..11fa9b9 100644
--- a/src/libgui/likeback.cpp
+++ b/src/libgui/likeback.cpp
@@ -408,11 +408,11 @@ bool LikeBack::isDevelopmentVersion(const TQString &version)
{
TQString theVersion = (version.isEmpty() ? s_about->version() : version);
- return theVersion.tqfind("alpha", /*index=*/0, /*caseSensitive=*/false) != -1 ||
- theVersion.tqfind("beta", /*index=*/0, /*caseSensitive=*/false) != -1 ||
- theVersion.tqfind("rc", /*index=*/0, /*caseSensitive=*/false) != -1 ||
- theVersion.tqfind("svn", /*index=*/0, /*caseSensitive=*/false) != -1 ||
- theVersion.tqfind("cvs", /*index=*/0, /*caseSensitive=*/false) != -1;
+ return theVersion.find("alpha", /*index=*/0, /*caseSensitive=*/false) != -1 ||
+ theVersion.find("beta", /*index=*/0, /*caseSensitive=*/false) != -1 ||
+ theVersion.find("rc", /*index=*/0, /*caseSensitive=*/false) != -1 ||
+ theVersion.find("svn", /*index=*/0, /*caseSensitive=*/false) != -1 ||
+ theVersion.find("cvs", /*index=*/0, /*caseSensitive=*/false) != -1;
}
void LikeBack::init(KConfig* config, KAboutData* about, Button buttons)