Use class instead of struct
TermWidgetImpl fits a Implementation class use.
This commit is contained in:
committed by
Chih-Hsuan Yen
parent
6947f7fc31
commit
ab49998a39
+3
-1
@@ -49,7 +49,9 @@ void *createTermWidget(int startnow, void *parent)
|
||||
return (void*) new QTermWidget(startnow, (QWidget*)parent);
|
||||
}
|
||||
|
||||
struct TermWidgetImpl {
|
||||
class TermWidgetImpl {
|
||||
|
||||
public:
|
||||
TermWidgetImpl(QWidget* parent = nullptr);
|
||||
|
||||
TerminalDisplay *m_terminalDisplay;
|
||||
|
||||
Reference in New Issue
Block a user