X-Git-Url: https://gitweb.stoutner.com/?a=blobdiff_plain;f=src%2Fdialogs%2FDurableCookiesDialog.cpp;h=abc21e98e4573dc10a5ed0ab1add3e34f2e20c6d;hb=e715eca23297fb10dcf70e4c8bb2712413d16e3d;hp=d998c20ab840cae96de877f57dde2371caba5912;hpb=adf448e4cca7b96f6db9fc2048e9a64fa24a9bba;p=PrivacyBrowserPC.git diff --git a/src/dialogs/DurableCookiesDialog.cpp b/src/dialogs/DurableCookiesDialog.cpp index d998c20..abc21e9 100644 --- a/src/dialogs/DurableCookiesDialog.cpp +++ b/src/dialogs/DurableCookiesDialog.cpp @@ -1,5 +1,5 @@ /* - * Copyright © 2022 Soren Stoutner . + * Copyright 2022-2023 Soren Stoutner . * * This file is part of Privacy Browser PC . * @@ -150,7 +150,7 @@ void DurableCookiesDialog::beforeUpdate(int row, QSqlRecord &sqlRecord) const if (sqlRecord.isGenerated(CookiesDatabase::DOMAIN) || sqlRecord.isGenerated(CookiesDatabase::NAME) || sqlRecord.isGenerated(CookiesDatabase::PATH)) { // Get the ID of the cookie - int id = sqlRecord.value(CookiesDatabase::_ID).toInt(); + int id = sqlRecord.value(CookiesDatabase::ID).toInt(); // Get the cookie. QNetworkCookie *cookiePointer = CookiesDatabase::getCookieById(id);