Changeset View
Changeset View
Standalone View
Standalone View
resources/maildir/libmaildir/maildir.cpp
Show First 20 Lines • Show All 250 Lines • ▼ Show 20 Line(s) | 247 | { | |||
---|---|---|---|---|---|
251 | if (!d->isRoot) { | 251 | if (!d->isRoot) { | ||
252 | if (d->accessIsPossible(createMissingFolders)) { | 252 | if (d->accessIsPossible(createMissingFolders)) { | ||
253 | return true; | 253 | return true; | ||
254 | } | 254 | } | ||
255 | } else { | 255 | } else { | ||
256 | const QStringList lstMaildir = subFolderList(); | 256 | const QStringList lstMaildir = subFolderList(); | ||
257 | for (const QString &sf : lstMaildir) { | 257 | for (const QString &sf : lstMaildir) { | ||
258 | const Maildir subMd = Maildir(path() + QLatin1Char('/') + sf); | 258 | const Maildir subMd = Maildir(path() + QLatin1Char('/') + sf); | ||
259 | if (!subMd.isValid()) { | 259 | if (!subMd.isValid(createMissingFolders)) { | ||
260 | d->lastError = subMd.lastError(); | 260 | d->lastError = subMd.lastError(); | ||
261 | return false; | 261 | return false; | ||
262 | } | 262 | } | ||
263 | } | 263 | } | ||
264 | return true; | 264 | return true; | ||
265 | } | 265 | } | ||
266 | return false; | 266 | return false; | ||
267 | } | 267 | } | ||
▲ Show 20 Lines • Show All 574 Lines • Show Last 20 Lines |