Clang warnings.
--HG-- branch : develop
This commit is contained in:
parent
5bd8c38269
commit
85bb6141ab
|
@ -414,6 +414,7 @@ bool MApplication::event(QEvent *e)
|
|||
return true;
|
||||
}
|
||||
}
|
||||
break;
|
||||
}
|
||||
#if defined(Q_OS_MAC)
|
||||
case QEvent::ApplicationActivate:
|
||||
|
@ -428,6 +429,7 @@ bool MApplication::event(QEvent *e)
|
|||
}
|
||||
return true;
|
||||
}
|
||||
break;
|
||||
}
|
||||
#endif //defined(Q_OS_MAC)
|
||||
default:
|
||||
|
|
|
@ -628,6 +628,7 @@ bool VApplication::event(QEvent *e)
|
|||
return true;
|
||||
}
|
||||
}
|
||||
break;
|
||||
}
|
||||
#if defined(Q_OS_MAC)
|
||||
case QEvent::ApplicationActivate:
|
||||
|
|
|
@ -531,7 +531,7 @@ void DialogLayoutSettings::DialogAccepted()
|
|||
generator->SetCaseType(GetGroup());
|
||||
generator->SetPaperHeight(GetPaperHeight());
|
||||
generator->SetPaperWidth(GetPaperWidth());
|
||||
generator->SetShift(qFloor(GetShift()));
|
||||
generator->SetShift(static_cast<quint32>(qFloor(GetShift())));
|
||||
generator->SetRotate(GetRotate());
|
||||
generator->SetRotationIncrease(GetIncrease());
|
||||
generator->SetAutoCrop(GetAutoCrop());
|
||||
|
|
|
@ -3776,7 +3776,7 @@ void MainWindow::DoExport(const VCommandLinePtr &expParams)
|
|||
{
|
||||
DialogSaveLayout dialog(scenes.size(), expParams->OptBaseName(), this);
|
||||
dialog.SetDestinationPath(expParams->OptDestinationPath());
|
||||
dialog.SelectFormate(static_cast<quint32>(expParams->OptExportType()));
|
||||
dialog.SelectFormate(expParams->OptExportType());
|
||||
ExportLayout(dialog);
|
||||
}
|
||||
catch (const VException &e)
|
||||
|
|
|
@ -40,7 +40,7 @@
|
|||
//---------------------------------------------------------------------------------------------------------------------
|
||||
/**
|
||||
* @brief VException constructor exception
|
||||
* @param what string with error
|
||||
* @param error string with error
|
||||
*/
|
||||
VException::VException(const QString &error)
|
||||
:QException(), error(error), moreInfo(QString())
|
||||
|
|
Loading…
Reference in New Issue
Block a user