diff options
Diffstat (limited to 'kdeprint/kmdbentry.cpp')
-rw-r--r-- | kdeprint/kmdbentry.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/kdeprint/kmdbentry.cpp b/kdeprint/kmdbentry.cpp index 87bb76c6c..9402dd02c 100644 --- a/kdeprint/kmdbentry.cpp +++ b/kdeprint/kmdbentry.cpp @@ -43,13 +43,13 @@ bool KMDBEntry::validate(bool checkIt) // check manufacturer if (manufacturer.isEmpty()) { - int p = model.tqfind(' ',0); + int p = model.find(' ',0); if (p != -1) manufacturer = model.left(p); if (manufacturer.isEmpty()) return false; } // extract manufacturer from model - if (model.tqfind(manufacturer,0,false) == 0) + if (model.find(manufacturer,0,false) == 0) { model = model.right(model.length()-manufacturer.length()-1).stripWhiteSpace(); if (model.isEmpty()) return false; |