Skip to content

Commit

Permalink
Fix linter
Browse files Browse the repository at this point in the history
Fixed clang formatting on downloadstab.cpp
  • Loading branch information
KenJyn76 committed Jul 29, 2024
1 parent 22559a0 commit 7c0dcf0
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions src/downloadstab.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,9 @@
#include "ui_mainwindow.h"

DownloadsTab::DownloadsTab(OrganizerCore& core, Ui::MainWindow* mwui)
: m_core(core), ui{mwui->btnRefreshDownloads, mwui->btnQueryDownloadsInfo, mwui->downloadView,
mwui->showHiddenBox, mwui->downloadFilterEdit}
: m_core(core),
ui{mwui->btnRefreshDownloads, mwui->btnQueryDownloadsInfo, mwui->downloadView,
mwui->showHiddenBox, mwui->downloadFilterEdit}
{
DownloadList* sourceModel = new DownloadList(m_core, ui.list);

Expand All @@ -27,7 +28,7 @@ DownloadsTab::DownloadsTab(OrganizerCore& core, Ui::MainWindow* mwui)
refresh();
});
connect(ui.queryInfos, &QPushButton::clicked, [&] {
queryInfos();
queryInfos();
});
connect(ui.list, SIGNAL(installDownload(int)), &m_core, SLOT(installDownload(int)));
connect(ui.list, SIGNAL(queryInfo(int)), m_core.downloadManager(),
Expand Down Expand Up @@ -83,7 +84,7 @@ void DownloadsTab::refresh()
m_core.downloadManager()->refreshList();
}

void DownloadsTab::queryInfos()
void DownloadsTab::queryInfos()
{
m_core.downloadManager()->queryDownloadListInfo();
}
Expand Down

0 comments on commit 7c0dcf0

Please sign in to comment.