ui: fixed error help dialog not showing up during indexing (issue #740) (#904)

This commit is contained in:
Malte Langkabel
2020-02-03 15:45:09 +01:00
committed by GitHub
parent f6bddec0ec
commit 3a6beb76fc
13 changed files with 121 additions and 81 deletions
+3 -3
View File
@@ -1,6 +1,7 @@
#ifndef QT_HELP_BUTTON_H
#define QT_HELP_BUTTON_H
#include "QtHelpButtonInfo.h"
#include "QtIconButton.h"
class QtHelpButton: public QtIconButton
@@ -8,14 +9,13 @@ class QtHelpButton: public QtIconButton
Q_OBJECT
public:
QtHelpButton(const QString& helpTitle, const QString& helpText, QWidget* parent = nullptr);
QtHelpButton(const QtHelpButtonInfo& info, QWidget* parent = nullptr);
private slots:
void handleHelpPress();
private:
QString m_helpTitle;
QString m_helpText;
QtHelpButtonInfo m_info;
};
#endif // QT_HELP_BUTTON_H