Skip to content

Commit

Permalink
QInputDialog::getInteger() is obsolete in Qt4. Replace it with getInt().
Browse files Browse the repository at this point in the history
This change is Qt4/Qt5 neutral.
  • Loading branch information
f3nix committed Apr 22, 2016
1 parent b08a75b commit c50bc17
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Mod/Sandbox/Gui/Command.cpp
Expand Up @@ -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);
Expand Down

0 comments on commit c50bc17

Please sign in to comment.