aboutsummaryrefslogtreecommitdiff
path: root/src/forms
diff options
context:
space:
mode:
authorAqua-sama <aqua@iserlohn-fortress.net>2017-02-01 22:21:33 +0100
committerAqua-sama <aqua@iserlohn-fortress.net>2017-02-01 22:21:33 +0100
commitf6d6f6ff6570a8d1860fd900f6a8f96ba30acdd0 (patch)
tree575cab29bea0c231852f0782f0df75730c1af71a /src/forms
parentUpdated license script (diff)
downloadsmolbote-f6d6f6ff6570a8d1860fd900f6a8f96ba30acdd0.tar.xz
AStyle pass
Added style check to pre-commit hook
Diffstat (limited to 'src/forms')
-rw-r--r--src/forms/blockerdialog.cpp10
-rw-r--r--src/forms/blockerdialog.h10
-rw-r--r--src/forms/downloaddialog.cpp10
-rw-r--r--src/forms/downloaddialog.h10
-rw-r--r--src/forms/profiledialog.cpp15
-rw-r--r--src/forms/profiledialog.h10
6 files changed, 33 insertions, 32 deletions
diff --git a/src/forms/blockerdialog.cpp b/src/forms/blockerdialog.cpp
index 2660d7d..da5fae6 100644
--- a/src/forms/blockerdialog.cpp
+++ b/src/forms/blockerdialog.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 "blockerdialog.h"
diff --git a/src/forms/blockerdialog.h b/src/forms/blockerdialog.h
index 9fc77ba..6970795 100644
--- a/src/forms/blockerdialog.h
+++ b/src/forms/blockerdialog.h
@@ -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/>.
- **
+ **
******************************************************************************/
#ifndef URLINTERCEPTORDIALOG_H
diff --git a/src/forms/downloaddialog.cpp b/src/forms/downloaddialog.cpp
index bb92a0f..59756bf 100644
--- a/src/forms/downloaddialog.cpp
+++ b/src/forms/downloaddialog.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 "downloaddialog.h"
diff --git a/src/forms/downloaddialog.h b/src/forms/downloaddialog.h
index cadc2b5..a28dd92 100644
--- a/src/forms/downloaddialog.h
+++ b/src/forms/downloaddialog.h
@@ -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/>.
- **
+ **
******************************************************************************/
#ifndef DOWNLOADDIALOG_H
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());
diff --git a/src/forms/profiledialog.h b/src/forms/profiledialog.h
index 59c2d5a..ab367d8 100644
--- a/src/forms/profiledialog.h
+++ b/src/forms/profiledialog.h
@@ -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/>.
- **
+ **
******************************************************************************/
#ifndef PROFILEDIALOG_H