summaryrefslogtreecommitdiffstats
path: root/kdeprint/cups/cupsaddsmb2.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kdeprint/cups/cupsaddsmb2.cpp')
-rw-r--r--kdeprint/cups/cupsaddsmb2.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/kdeprint/cups/cupsaddsmb2.cpp b/kdeprint/cups/cupsaddsmb2.cpp
index 2737cfd71..f12653cbb 100644
--- a/kdeprint/cups/cupsaddsmb2.cpp
+++ b/kdeprint/cups/cupsaddsmb2.cpp
@@ -231,7 +231,7 @@ void CupsAddSmb::checkActionStatus()
m_status = (m_buffer.count() == 0);
break;
case MkDir:
- m_status = (m_buffer.count() == 1 || m_buffer[1].tqfind("ERRfilexists") != -1);
+ m_status = (m_buffer.count() == 1 || m_buffer[1].find("ERRfilexists") != -1);
break;
case AddDriver:
case AddPrinter: