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

local fct to anon namespace

parent 7ca376a0
No related branches found
No related tags found
1 merge request!427Reduce include dependences in GUI; break cyclic dependence between View and Model
...@@ -26,7 +26,7 @@ ...@@ -26,7 +26,7 @@
#include <QValidator> #include <QValidator>
#include <cmath> #include <cmath>
namespace GUI::View::Helpers { namespace {
//! Single step for QDoubleSpinBox. //! Single step for QDoubleSpinBox.
double singleStep(int decimals) double singleStep(int decimals)
...@@ -35,6 +35,10 @@ double singleStep(int decimals) ...@@ -35,6 +35,10 @@ double singleStep(int decimals)
return 1. / std::pow(10., decimals - 1); return 1. / std::pow(10., decimals - 1);
} }
} // namespace
namespace GUI::View::Helpers {
void information(QWidget* parent, const QString& title, const QString& text, void information(QWidget* parent, const QString& title, const QString& text,
const QString& detailedText) const QString& detailedText)
......
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