fix fileManager menu crash on Qt5