Skip to content

Commit

Permalink
linux fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
magnesj committed Sep 21, 2023
1 parent 5a46bad commit 0f95004
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@
#include "cafPdmUiListEditor.h"
#include "cafPdmUiTimeEditor.h"
#include "cafPdmUiTreeSelectionEditor.h"
#include "cafPdmUiValueRangeEditor.h"

#include <QGridLayout>

Expand Down
3 changes: 1 addition & 2 deletions Fwk/AppFwk/cafUserInterface/cafPdmUiValueRangeEditor.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,6 @@

#include <QLabel>
#include <QSlider>
#include <QTextEdit>

namespace caf
{
Expand All @@ -71,7 +70,7 @@ void PdmUiValueRangeEditor::configureAndUpdateUi( const QString& uiConfigName )
}

// A pair is represented as a list of QVariant in PdmValueFieldSpecialization<std::pair<T, U>>
auto getTwoDoublesFromVariant = [=]() -> std::pair<double, double>
auto getTwoDoublesFromVariant = [this]() -> std::pair<double, double>
{
double firstValue = 0.0;
double secondValue = 0.0;
Expand Down
2 changes: 2 additions & 0 deletions Fwk/AppFwk/cafUserInterface/cafPdmUiValueRangeEditor.h
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,8 @@
#include "cafPdmUiFieldEditorHandle.h"
#include "cafPdmUiSliderTools.h"

class QLineEdit;

namespace caf
{
//==================================================================================================
Expand Down

0 comments on commit 0f95004

Please sign in to comment.