blizzard4591 / openMittsu

An open source implementation and desktop client of the Threema Messenger App.
Other
175 stars 22 forks source link

Fix unlocking database with no password #41

Closed fynngodau closed 6 years ago

fynngodau commented 6 years ago

I noticed a bug when I wanted to open a database with no password ("") where the software would cancel the operation instead of opening. This fixes it by assuming "" when no String is entered.

blizzard4591 commented 6 years ago

Nice! Since the Qt Doc says:

QString("").isNull(); // returns false

I thought this would already be ok, but I just tested it and it returns null :/ Thank you!