mirror of
https://github.com/arcan1s/awesome-widgets.git
synced 2025-07-16 15:19:58 +00:00
system source, some code improvements
This commit is contained in:
@ -36,12 +36,12 @@ class AWAbstractPairConfig : public QDialog
|
||||
|
||||
public:
|
||||
explicit AWAbstractPairConfig(QWidget *_parent = nullptr, const bool _hasEdit = false,
|
||||
const QStringList &_keys = QStringList());
|
||||
virtual ~AWAbstractPairConfig();
|
||||
QStringList _keys = QStringList());
|
||||
~AWAbstractPairConfig() override;
|
||||
template <class T> void initHelper()
|
||||
{
|
||||
if (m_helper)
|
||||
delete m_helper;
|
||||
|
||||
delete m_helper;
|
||||
m_helper = new T(this);
|
||||
}
|
||||
void showDialog();
|
||||
|
Reference in New Issue
Block a user