QInputDialog::getInteger() is obsolete in Qt4. Replace it with getInt().
This change is Qt4/Qt5 neutral.
This commit is contained in:
parent
b08a75bfb2
commit
c50bc17675
|
@ -1352,7 +1352,7 @@ MeshObjectRef makeParallelMengerSponge(int level, float x0, float y0, float z0)
|
|||
void CmdMengerSponge::activated(int iMsg)
|
||||
{
|
||||
bool ok;
|
||||
int level = QInputDialog::getInteger(Gui::getMainWindow(),
|
||||
int level = QInputDialog::getInt(Gui::getMainWindow(),
|
||||
QString::fromLatin1("Menger sponge"),
|
||||
QString::fromLatin1("Recursion depth:"),
|
||||
3, 1, 5, 1, &ok);
|
||||
|
|
Loading…
Reference in New Issue
Block a user