/*
- * Copyright © 2022 Soren Stoutner <soren@stoutner.com>.
+ * Copyright 2022-2023 Soren Stoutner <soren@stoutner.com>.
*
* This file is part of Privacy Browser PC <https://www.stoutner.com/privacy-browser-pc>.
*
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);