Skip to content
Snippets Groups Projects
Commit 6c708643 authored by Wuttke, Joachim's avatar Wuttke, Joachim
Browse files

corr includes

parent 92417642
No related branches found
No related tags found
1 merge request!2184cleanup as suggested by clang-tidy
...@@ -121,6 +121,7 @@ Checks: '*, ...@@ -121,6 +121,7 @@ Checks: '*,
-bugprone-misplaced-widening-cast, -bugprone-misplaced-widening-cast,
-clang-analyzer-core.CallAndMessage, -clang-analyzer-core.CallAndMessage,
-clang-analyzer-optin.cplusplus.VirtualCall, -clang-analyzer-optin.cplusplus.VirtualCall,
-clang-diagnostic-error,
-cppcoreguidelines-pro-type-const-cast, -cppcoreguidelines-pro-type-const-cast,
-cppcoreguidelines-pro-type-static-cast-downcast, -cppcoreguidelines-pro-type-static-cast-downcast,
-google-runtime-references, -google-runtime-references,
......
...@@ -131,7 +131,7 @@ Datafield::Datafield(const std::string& xlabel, const std::string& ylabel, ...@@ -131,7 +131,7 @@ Datafield::Datafield(const std::string& xlabel, const std::string& ylabel,
else else
axes = {newEquiDivision(xlabel, ncols, 0.0, (double)ncols), axes = {newEquiDivision(xlabel, ncols, 0.0, (double)ncols),
newEquiDivision(ylabel, nrows, 0.0, (double)nrows)}; newEquiDivision(ylabel, nrows, 0.0, (double)nrows)};
m_frame.reset(new Frame(std::move(axes))); m_frame = std::make_unique<Frame>(std::move(axes));
setVector2D(vec); setVector2D(vec);
} }
......
...@@ -15,10 +15,8 @@ ...@@ -15,10 +15,8 @@
#ifndef BORNAGAIN_GUI_SUPPORT_STYLE_STYLE_H #ifndef BORNAGAIN_GUI_SUPPORT_STYLE_STYLE_H
#define BORNAGAIN_GUI_SUPPORT_STYLE_STYLE_H #define BORNAGAIN_GUI_SUPPORT_STYLE_STYLE_H
#include <QDialog>
#include <QFont> #include <QFont>
#include <QLayout>
#include <QString>
#include <QTreeView>
#include <QWidget> #include <QWidget>
//! Mostly concerned with fonts //! Mostly concerned with fonts
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment