Skip to content

Commit

Permalink
Fix build broken because of missing includes
Browse files Browse the repository at this point in the history
  • Loading branch information
Bionus committed Nov 4, 2020
1 parent 072f4f0 commit 96835aa
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/gui/src/sources/sources-settings-window.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -124,8 +124,8 @@ SourcesSettingsWindow::SourcesSettingsWindow(Profile *profile, Site *site, QWidg
QFormLayout *formLayout = new QFormLayout;
formLayout->setContentsMargins(0, 0, 0, 0);

QList<AuthSettingField> fields = it().value()->settingFields();
for (const auto &field : fields) {
QList<AuthSettingField> settingFields = it.value()->settingFields();
for (const auto &field : settingFields) {
const QString id = field.id;
const QString val = m_site->settings()->value("auth/" + id).toString();

Expand Down
1 change: 1 addition & 0 deletions src/lib/src/auth/auth.h
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
#ifndef AUTH_H
#define AUTH_H

#include <QList>
#include <QString>


Expand Down

0 comments on commit 96835aa

Please sign in to comment.