forked from qt-creator/qt-creator
more code cosmetics
This commit is contained in:
@@ -30,14 +30,15 @@
|
||||
** version 1.2, included in the file GPL_EXCEPTION.txt in this package.
|
||||
**
|
||||
***************************************************************************/
|
||||
|
||||
#include "helpengine.h"
|
||||
#include "config.h"
|
||||
|
||||
#include <QtCore/QDebug>
|
||||
#include <QtCore/QDir>
|
||||
#include <QtCore/QDateTime>
|
||||
#include <QtCore/QCoreApplication>
|
||||
|
||||
#include "helpengine.h"
|
||||
#include "config.h"
|
||||
|
||||
using namespace Help::Internal;
|
||||
|
||||
static bool verifyDirectory(const QString &str)
|
||||
@@ -52,7 +53,8 @@ static bool verifyDirectory(const QString &str)
|
||||
return true;
|
||||
}
|
||||
|
||||
struct IndexKeyword {
|
||||
struct IndexKeyword
|
||||
{
|
||||
IndexKeyword(const QString &kw, const QString &l)
|
||||
: keyword(kw), link(l) {}
|
||||
IndexKeyword() : keyword(QString()), link(QString()) {}
|
||||
@@ -193,12 +195,6 @@ QModelIndex IndexListModel::filter(const QString &s, const QString &real)
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
HelpEngine::HelpEngine(QObject *parent, const QString &defaultQtVersionPath)
|
||||
: QObject(parent)
|
||||
{
|
||||
@@ -344,13 +340,6 @@ QString HelpEngine::home() const
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
TitleMapThread::TitleMapThread(HelpEngine *he)
|
||||
: QThread(he)
|
||||
{
|
||||
@@ -488,9 +477,6 @@ void TitleMapThread::buildContentDict()
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
IndexThread::IndexThread(HelpEngine *he)
|
||||
: QThread(he)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user