diff options
Diffstat (limited to 'src/forms/profiledialog.cpp')
-rw-r--r-- | src/forms/profiledialog.cpp | 15 |
1 files changed, 8 insertions, 7 deletions
diff --git a/src/forms/profiledialog.cpp b/src/forms/profiledialog.cpp index a3e7c60..057dc7d 100644 --- a/src/forms/profiledialog.cpp +++ b/src/forms/profiledialog.cpp @@ -1,21 +1,21 @@ /** LICENSE ******************************************************************** - ** + ** ** smolbote: yet another qute browser ** Copyright (C) 2017 Xian Nox - ** + ** ** This program is free software: you can redistribute it and/or modify ** it under the terms of the GNU General Public License as published by ** the Free Software Foundation, either version 3 of the License, or ** (at your option) any later version. - ** + ** ** This program is distributed in the hope that it will be useful, ** but WITHOUT ANY WARRANTY; without even the implied warranty of ** MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the ** GNU General Public License for more details. - ** + ** ** You should have received a copy of the GNU General Public License ** along with this program. If not, see <http://www.gnu.org/licenses/>. - ** + ** ******************************************************************************/ #include "profiledialog.h" @@ -33,10 +33,11 @@ ProfileDialog::ProfileDialog(QWebEngineProfile *profile, QWidget *parent) : _profile = profile; ui->setupUi(this); - if(!_profile->storageName().isEmpty()) + if(!_profile->storageName().isEmpty()) { setWindowTitle(_profile->storageName()); - else + } else { setWindowTitle(tr("Off-the-record")); + } // http ui->userAgent->setPlainText(_profile->httpUserAgent()); |