QInputDialog::getInteger() is obsolete in Qt4. Replace it with getInt().
This change is Qt4/Qt5 neutral.
This commit is contained in:
committed by
wmayer
parent
e6379ea636
commit
99ca18f541
@@ -1540,7 +1540,7 @@ void CmdMeshFillupHoles::activated(int iMsg)
|
||||
{
|
||||
std::vector<App::DocumentObject*> meshes = getSelection().getObjectsOfType(Mesh::Feature::getClassTypeId());
|
||||
bool ok;
|
||||
int FillupHolesOfLength = QInputDialog::getInteger(Gui::getMainWindow(), QObject::tr("Fill holes"),
|
||||
int FillupHolesOfLength = QInputDialog::getInt(Gui::getMainWindow(), QObject::tr("Fill holes"),
|
||||
QObject::tr("Fill holes with maximum number of edges:"), 3, 3, 10000, 1, &ok);
|
||||
if (!ok) return;
|
||||
openCommand("Fill up holes");
|
||||
|
||||
Reference in New Issue
Block a user