#include "view.h"
#include "constants.h"
-class AboutView : public QWidget, public View {
+class AboutView : public View {
Q_OBJECT
QHash<QString, QVariant> metadata() {
QHash<QString, QVariant> metadata;
metadata.insert("title", tr("About"));
- metadata.insert("description",
- tr("What you always wanted to know about %1 and never dared to ask")
- .arg(Constants::NAME));
return metadata;
}
protected:
- void paintEvent(QPaintEvent *);
+ void paintEvent(QPaintEvent *e);
private:
QPushButton *closeButton;