aboutsummaryrefslogtreecommitdiff
path: root/src/widgets
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/widgets
parentUpdated license script (diff)
downloadsmolbote-f6d6f6ff6570a8d1860fd900f6a8f96ba30acdd0.tar.xz
AStyle pass
Added style check to pre-commit hook
Diffstat (limited to 'src/widgets')
-rw-r--r--src/widgets/urllineedit.cpp10
-rw-r--r--src/widgets/urllineedit.h10
-rw-r--r--src/widgets/webviewtabbar.cpp14
-rw-r--r--src/widgets/webviewtabbar.h10
4 files changed, 22 insertions, 22 deletions
diff --git a/src/widgets/urllineedit.cpp b/src/widgets/urllineedit.cpp
index b5082f1..5c1f5c4 100644
--- a/src/widgets/urllineedit.cpp
+++ b/src/widgets/urllineedit.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 "urllineedit.h"
diff --git a/src/widgets/urllineedit.h b/src/widgets/urllineedit.h
index 3405461..c925c28 100644
--- a/src/widgets/urllineedit.h
+++ b/src/widgets/urllineedit.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 URLLINEEDIT_H
diff --git a/src/widgets/webviewtabbar.cpp b/src/widgets/webviewtabbar.cpp
index a050a76..aef2bd8 100644
--- a/src/widgets/webviewtabbar.cpp
+++ b/src/widgets/webviewtabbar.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 "webviewtabbar.h"
@@ -45,8 +45,8 @@ int WebViewTabBar::addTab(QWebEngineProfile *profile, const QUrl &url)
//connect(view, SIGNAL(titleChanged()), this, SLOT(updateTabText()));
connect(view, &QWebEngineView::titleChanged, [this, view](const QString &title) {
- int index = m_views.indexOf(view);
- setTabText(index, title);
+ int index = m_views.indexOf(view);
+ setTabText(index, title);
});
connect(view, &QWebEngineView::iconChanged, [this, view](const QIcon &icon) {
int index = m_views.indexOf(view);
diff --git a/src/widgets/webviewtabbar.h b/src/widgets/webviewtabbar.h
index 8b32e7a..bf7edb2 100644
--- a/src/widgets/webviewtabbar.h
+++ b/src/widgets/webviewtabbar.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 WEBVIEWTABBAR_H