Online account can now be created from the EditItemDialog. The response isn't processed properly yet.
This commit is contained in:
@ -26,6 +26,10 @@ void EditItemDialog::createContent() {
|
||||
innerLayout->addWidget(m_detailMapper);
|
||||
|
||||
m_outerLayout->insertWidget(0, m_contentContainer);
|
||||
|
||||
/// online user stuff
|
||||
connect(m_detailMapper, &ItemDetailMapper::createOnlineAccountTriggered, this,
|
||||
&EditItemDialog::createOnlineAccountTriggered);
|
||||
}
|
||||
|
||||
void EditItemDialog::accept() {
|
||||
|
||||
@ -19,6 +19,8 @@ class EditItemDialog : public AbstractDialog {
|
||||
/// AbstractDialog interface
|
||||
void createContent() override;
|
||||
|
||||
signals:
|
||||
void createOnlineAccountTriggered(const QString& mailAddress);
|
||||
public slots:
|
||||
void accept() override;
|
||||
void reject() override;
|
||||
|
||||
Reference in New Issue
Block a user