Skip to content
Snippets Groups Projects
Commit 48d42719 authored by Van Herck, Walter's avatar Van Herck, Walter
Browse files

Corrected two compilation warnings

parent bedfaac0
No related branches found
No related tags found
No related merge requests found
......@@ -28,7 +28,7 @@ QModelIndex FilterPropertyProxy::toSourceIndex(QModelIndex index)
FilterPropertyProxy *proxy = dynamic_cast<FilterPropertyProxy*>(const_cast<QAbstractItemModel*>(index.model()));
if (proxy)
return proxy->mapToSource(index);
index;
return index;
}
bool FilterPropertyProxy::filterAcceptsRow(int sourceRow, const QModelIndex &sourceParent) const
......
......@@ -175,7 +175,7 @@ void FitTools::onError(const QString &text)
box.exec();
}
void FitTools::onUpdatePlots(OutputData<double> *sim, OutputData<double> *chi2)
void FitTools::onUpdatePlots(OutputData<double> *sim, OutputData<double> *)
{
// hack to preserve axis information
auto data = m_currentJobItem->getIntensityDataItem()->getOutputData()->clone();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment