// Module : SMESH
// $Header$
-using namespace std;
#include "SMESHGUI_Preferences_SelectionDlg.h"
#include "SMESHGUI.h"
#include <qpalette.h>
#include <qcolordialog.h>
+using namespace std;
+
//=================================================================================
// class : SMESHGUI_LineEdit
// purpose :
double SMESHGUI_Preferences_SelectionDlg::GetPrecision(int type)
{
if (type > 0 && type <= 2)
- return myPrecision[type-1]->text().toDouble();
+ return myPrecision[type-1]->text().toDouble();
+ return 0;
}