About info, fix relative files in onAnchorClicked

This commit is contained in:
Klaus Basan
2019-03-25 02:38:22 +01:00
committed by Mat Sutcliffe
parent 072bb34a32
commit 8be1465f24
2 changed files with 39 additions and 3 deletions

View File

@@ -12,6 +12,7 @@
#define BLACKGUI_COMPONENTS_ABOUTHTMLCOMPONENT_H
#include "blackgui/blackguiexport.h"
#include <QUrl>
#include <QFrame>
#include <QScopedPointer>
@@ -32,12 +33,15 @@ namespace BlackGui
explicit CAboutHtmlComponent(QWidget *parent = nullptr);
//! Destructor
virtual ~CAboutHtmlComponent();
virtual ~CAboutHtmlComponent() override;
private:
//! Load credits and legal info
void loadAbout();
//! Anchor has been clicked
void onAnchorClicked(const QUrl &url);
QScopedPointer<Ui::CAboutHtmlComponent> ui;
};
} // ns