Move attachments view to the separate widget EntryAttachmentsWidget

This commit is contained in:
frostasm 2017-12-19 15:36:09 +02:00
parent ed0bda98a6
commit c490c21cd5
10 changed files with 541 additions and 367 deletions

View file

@ -111,8 +111,8 @@ DatabaseWidget::DatabaseWidget(Database* db, QWidget* parent)
"border-radius: 5px;");
m_detailsView = new DetailsWidget(this);
connect(m_detailsView, &DetailsWidget::errorOccured, this, [this](const QString& error) {
showMessage(error, MessageWidget::MessageType::Error, false);
connect(m_detailsView, &DetailsWidget::errorOccurred, this, [this](const QString& error) {
showMessage(error, MessageWidget::MessageType::Error);
});
QVBoxLayout* vLayout = new QVBoxLayout(rightHandSideWidget);