From e4ffd8374040d36c22125eeb534d884f56978592 Mon Sep 17 00:00:00 2001 From: Aqua-sama Date: Tue, 17 Apr 2018 17:43:38 +0200 Subject: Style pass --- lib/bookmarks/bookmarksview.h | 1 - lib/bookmarks/bookmarkswidget.cpp | 2 +- lib/bookmarks/bookmarkswidget.h | 4 ++-- lib/bookmarks/xbel.h | 2 +- 4 files changed, 4 insertions(+), 5 deletions(-) (limited to 'lib/bookmarks') diff --git a/lib/bookmarks/bookmarksview.h b/lib/bookmarks/bookmarksview.h index 5b408e0..47b3f9c 100644 --- a/lib/bookmarks/bookmarksview.h +++ b/lib/bookmarks/bookmarksview.h @@ -34,5 +34,4 @@ private: QIcon bookmarkIcon; }; - #endif // SMOLBOTE_BOOKMARKSVIEW_H diff --git a/lib/bookmarks/bookmarkswidget.cpp b/lib/bookmarks/bookmarkswidget.cpp index 339e913..cae1eb3 100644 --- a/lib/bookmarks/bookmarkswidget.cpp +++ b/lib/bookmarks/bookmarkswidget.cpp @@ -129,7 +129,7 @@ void BookmarksWidget::save() } } -void BookmarksWidget::search(const QString& term, std::function callback) const +void BookmarksWidget::search(const QString &term, std::function callback) const { QStringList ret; const QList res = ui->treeWidget->findItems(term, Qt::MatchContains | Qt::MatchRecursive, 1); diff --git a/lib/bookmarks/bookmarkswidget.h b/lib/bookmarks/bookmarkswidget.h index 6322918..40f5c04 100644 --- a/lib/bookmarks/bookmarkswidget.h +++ b/lib/bookmarks/bookmarkswidget.h @@ -9,9 +9,9 @@ #ifndef BOOKMARKSDIALOG_H #define BOOKMARKSDIALOG_H +#include #include #include -#include #include namespace Ui @@ -35,7 +35,7 @@ signals: void openUrl(const QUrl &url); public slots: - void search(const QString &term, std::function callback) const; + void search(const QString &term, std::function callback) const; private: Ui::BookmarksDialog *ui; diff --git a/lib/bookmarks/xbel.h b/lib/bookmarks/xbel.h index 6981627..ecc185a 100644 --- a/lib/bookmarks/xbel.h +++ b/lib/bookmarks/xbel.h @@ -9,9 +9,9 @@ #ifndef XBELREADER_H #define XBELREADER_H +#include "bookmarksview.h" #include #include -#include "bookmarksview.h" class XbelReader { -- cgit v1.2.1