mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
Fix compile errors
This was fixed in my local tree but I forgot to amend the commit before pushing it out. Oops. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
8f61dfe812
commit
7f49ba745c
1 changed files with 1 additions and 1 deletions
|
@ -282,7 +282,7 @@ void QMLManager::saveCloudCredentials()
|
|||
QRegularExpression regExp("^[a-zA-Z0-9@.+_-]+$");
|
||||
QString cloudPwd = cloudPassword();
|
||||
QString cloudUser = cloudUserName();
|
||||
if (cloudPwd.isEmpty() || !reg.match(cloudPwd) || !reg.match(cloudUser) {
|
||||
if (cloudPwd.isEmpty() || !regExp.match(cloudPwd).hasMatch() || !regExp.match(cloudUser).hasMatch()) {
|
||||
setStartPageText(RED_FONT + tr("Cloud storage email and password can only consist of letters, numbers, and '.', '-', '_', and '+'.") + END_FONT);
|
||||
return;
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue