aboutsummaryrefslogtreecommitdiff
path: root/src/forms
diff options
context:
space:
mode:
authorAqua-sama <aqua@iserlohn-fortress.net>2017-01-23 16:59:50 +0100
committerAqua-sama <aqua@iserlohn-fortress.net>2017-01-23 16:59:50 +0100
commit8e140bc9b7c85851889964647d93b2187ae46449 (patch)
treeb1e9c0ddb893650204248ec35e974690b5713fec /src/forms
parentURL blocking (diff)
downloadsmolbote-8e140bc9b7c85851889964647d93b2187ae46449.tar.xz
Made Profile menu a regular menu
Diffstat (limited to 'src/forms')
-rw-r--r--src/forms/profiledialog.cpp4
1 files changed, 4 insertions, 0 deletions
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());