App: Single arg ctors must be explicit
This commit is contained in:
@@ -1358,7 +1358,7 @@ void PropertySheet::onRelabeledDocument(const App::Document &doc)
|
||||
|
||||
void PropertySheet::renameObjectIdentifiers(const std::map<App::ObjectIdentifier, App::ObjectIdentifier> &paths)
|
||||
{
|
||||
RenameObjectIdentifierExpressionVisitor<PropertySheet> v(*this, paths, *this);
|
||||
RenameObjectIdentifierExpressionVisitor<PropertySheet> v {*this, paths, *this};
|
||||
for(auto &c : data) {
|
||||
c.second->visit(v);
|
||||
if(v.changed()) {
|
||||
|
||||
@@ -712,7 +712,7 @@ void QGIFace::getParameters()
|
||||
|
||||
hGrp = App::GetApplication().GetUserParameter()
|
||||
.GetGroup("BaseApp")->GetGroup("Preferences")->GetGroup("Mod/TechDraw/Colors");
|
||||
App::Color temp = hGrp->GetUnsigned("FaceColor",0xffffffff);
|
||||
App::Color temp {static_cast<uint32_t>(hGrp->GetUnsigned("FaceColor",0xffffffff))};
|
||||
setFillColor(temp.asValue<QColor>());
|
||||
|
||||
hGrp = App::GetApplication().GetUserParameter()
|
||||
|
||||
Reference in New Issue
Block a user