From 8e140bc9b7c85851889964647d93b2187ae46449 Mon Sep 17 00:00:00 2001 From: Aqua-sama Date: Mon, 23 Jan 2017 16:59:50 +0100 Subject: Made Profile menu a regular menu --- src/forms/profiledialog.cpp | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/forms/profiledialog.cpp') diff --git a/src/forms/profiledialog.cpp b/src/forms/profiledialog.cpp index 3d93dd0..a3e7c60 100644 --- a/src/forms/profiledialog.cpp +++ b/src/forms/profiledialog.cpp @@ -33,6 +33,10 @@ ProfileDialog::ProfileDialog(QWebEngineProfile *profile, QWidget *parent) : _profile = profile; ui->setupUi(this); + if(!_profile->storageName().isEmpty()) + setWindowTitle(_profile->storageName()); + else + setWindowTitle(tr("Off-the-record")); // http ui->userAgent->setPlainText(_profile->httpUserAgent()); -- cgit v1.2.1