@@ -80,7 +80,7 @@ KsAdvFilteringDialog::KsAdvFilteringDialog(QWidget *parent)
_getFilters(kshark_ctx);
if (_filters.count()) {
- _makeFilterTable(kshark_ctx);
+ _makeFilterTable();
lamAddLine();
}
@@ -264,7 +264,7 @@ void KsAdvFilteringDialog::_getFilters(kshark_context *kshark_ctx)
}
}
-void KsAdvFilteringDialog::_makeFilterTable(struct kshark_context *kshark_ctx)
+void KsAdvFilteringDialog::_makeFilterTable()
{
QMapIterator<int, QString> f(_filters);
QTableWidgetItem *i1, *i2, *i3;
@@ -80,7 +80,7 @@ private:
void _getFilters(kshark_context *kshark_ctx);
- void _makeFilterTable(kshark_context *kshark_ctx);
+ void _makeFilterTable();
QStringList _getEventFields(int eventId);
@@ -1434,12 +1434,12 @@ void KsMainWindow::loadSession(const QString &fileName)
_session.loadUserPlugins(kshark_ctx, &_plugins);
pb.setValue(20);
- auto lamLoadJob = [&] (KsDataStore *d) {
+ auto lamLoadJob = [&] () {
_session.loadDataStreams(kshark_ctx, &_data);
loadDone = true;
};
- std::thread job = std::thread(lamLoadJob, &_data);
+ std::thread job = std::thread(lamLoadJob);
for (int i = 0; i < 150; ++i) {
/*
Signed-off-by: Benjamin ROBIN <dev@benjarobin.fr> --- src/KsAdvFilteringDialog.cpp | 4 ++-- src/KsAdvFilteringDialog.hpp | 2 +- src/KsMainWindow.cpp | 4 ++-- 3 files changed, 5 insertions(+), 5 deletions(-)