diff options
Diffstat (limited to 'plugins')
-rw-r--r-- | plugins/ProfileEditor/forms/profileview.cpp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/plugins/ProfileEditor/forms/profileview.cpp b/plugins/ProfileEditor/forms/profileview.cpp index 6f61db1..87546e5 100644 --- a/plugins/ProfileEditor/forms/profileview.cpp +++ b/plugins/ProfileEditor/forms/profileview.cpp @@ -153,7 +153,10 @@ void ProfileView::cookieAdded(const QNetworkCookie &cookie) ui->cookies->setItem(index, 0, item); ui->cookies->setItem(index, 1, new QTableWidgetItem(cookie.domain())); ui->cookies->setItem(index, 2, new QTableWidgetItem(cookie.path())); - ui->cookies->setItem(index, 3, new QTableWidgetItem(cookie.expirationDate().toString(Qt::RFC2822Date))); + if(cookie.isSessionCookie()) + ui->cookies->setItem(index, 3, new QTableWidgetItem(tr("session"))); + else + ui->cookies->setItem(index, 3, new QTableWidgetItem(cookie.expirationDate().toString(Qt::RFC2822Date))); } void ProfileView::cookieRemoved(const QNetworkCookie &cookie) |