Skip to content

Commit 5fca583

Browse files
committed
astyle formatting
[ci skip]
1 parent d7f9dc2 commit 5fca583

2 files changed

Lines changed: 6 additions & 7 deletions

File tree

gui/helpdialog.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,8 @@ void HelpBrowser::setHelpEngine(QHelpEngine *helpEngine)
1010
mHelpEngine = helpEngine;
1111
}
1212

13-
QVariant HelpBrowser::loadResource(int type, const QUrl &name){
13+
QVariant HelpBrowser::loadResource(int type, const QUrl &name)
14+
{
1415
if (name.scheme() == "qthelp") {
1516
QString url(name.toString());
1617
while (url.indexOf("/./") > 0)

gui/helpdialog.h

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -5,23 +5,21 @@
55
#include <QTextBrowser>
66

77
namespace Ui {
8-
class HelpDialog;
8+
class HelpDialog;
99
}
1010

1111
class QHelpEngine;
1212

13-
class HelpBrowser : public QTextBrowser
14-
{
13+
class HelpBrowser : public QTextBrowser {
1514
public:
1615
HelpBrowser(QWidget* parent = 0) : QTextBrowser(parent), mHelpEngine(nullptr) {}
1716
void setHelpEngine(QHelpEngine *helpEngine);
18-
QVariant loadResource (int type, const QUrl& name);
17+
QVariant loadResource(int type, const QUrl& name);
1918
private:
2019
QHelpEngine* mHelpEngine;
2120
};
2221

23-
class HelpDialog : public QDialog
24-
{
22+
class HelpDialog : public QDialog {
2523
Q_OBJECT
2624

2725
public:

0 commit comments

Comments
 (0)