fix -Wextra in Import
This commit is contained in:
@@ -55,6 +55,7 @@ FCCmdImportReadBREP::FCCmdImportReadBREP()
|
||||
|
||||
void FCCmdImportReadBREP::activated(int iMsg)
|
||||
{
|
||||
Q_UNUSED(iMsg);
|
||||
openCommand("Read BREP");
|
||||
QString fn = Gui::FileDialog::getOpenFileName(Gui::getMainWindow(), QString(), QString(), QLatin1String("BREP (*.brep *.rle)"));
|
||||
if (fn.isEmpty()) {
|
||||
@@ -91,6 +92,7 @@ ImportStep::ImportStep()
|
||||
|
||||
void ImportStep::activated(int iMsg)
|
||||
{
|
||||
Q_UNUSED(iMsg);
|
||||
QString fn = Gui::FileDialog::getOpenFileName(Gui::getMainWindow(), QString(), QString(), QLatin1String("STEP (*.stp *.step)"));
|
||||
if (!fn.isEmpty()) {
|
||||
openCommand("Part ImportSTEP Create");
|
||||
@@ -129,6 +131,7 @@ ImportIges::ImportIges()
|
||||
|
||||
void ImportIges::activated(int iMsg)
|
||||
{
|
||||
Q_UNUSED(iMsg);
|
||||
QString fn = Gui::FileDialog::getOpenFileName(Gui::getMainWindow(), QString(), QString(), QLatin1String("IGES (*.igs *.iges)"));
|
||||
if (!fn.isEmpty()) {
|
||||
openCommand("ImportIGES Create");
|
||||
@@ -153,6 +156,3 @@ void CreateImportCommands(void)
|
||||
Gui::CommandManager &rcCmdMgr = Gui::Application::Instance->commandManager();
|
||||
rcCmdMgr.addCommand(new FCCmdImportReadBREP());
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user