Commit 19bc7624 authored by David Faure's avatar David Faure

fix invalid use of bitfield operation on boolean

1 & 2 = 0, while one would expect true & true to be true...
parent f8f570e6
......@@ -237,7 +237,7 @@ void MaildirResource::configurationChanged()
{
mSettings->save();
bool configValid = ensureSaneConfiguration();
configValid &= ensureDirExists();
configValid = configValid && ensureDirExists();
if (configValid) {
Q_EMIT status(Idle);
setOnline(true);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment