diff options
Diffstat (limited to 'tdeprint/lpd/kmlpdmanager.cpp')
-rw-r--r-- | tdeprint/lpd/kmlpdmanager.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tdeprint/lpd/kmlpdmanager.cpp b/tdeprint/lpd/kmlpdmanager.cpp index a11f79304..23c0422d0 100644 --- a/tdeprint/lpd/kmlpdmanager.cpp +++ b/tdeprint/lpd/kmlpdmanager.cpp @@ -620,9 +620,9 @@ bool KMLpdManager::createSpooldir(PrintcapEntry *entry) if (entry->arg("sd").isEmpty()) entry->m_args["sd"] = TQString::fromLatin1("/var/spool/lpd/")+entry->m_name; QString sd = entry->arg("sd"); - if (!KStandardDirs::exists(sd)) + if (!TDEStandardDirs::exists(sd)) { - if (!KStandardDirs::makeDir(sd,0750)) + if (!TDEStandardDirs::makeDir(sd,0750)) return false; struct passwd *lp_pw = getpwnam("lp"); if (lp_pw && chown(TQFile::encodeName(sd),lp_pw->pw_uid,lp_pw->pw_gid) != 0) |