Commit bb87ee73 authored by Jan Möbius's avatar Jan Möbius

Removed deprecated function calls

parent 26c91663
......@@ -292,7 +292,7 @@ QString updateTypeName(UpdateType _id) {
}
// Remove the last ;
type.left(type.length()-1);
type = type.left(type.length()-1);
return type;
}
......
......@@ -72,7 +72,7 @@ LoadWidget::LoadWidget(std::vector<fileTypes>& _supportedTypes , QWidget *parent
gridLayout->addWidget( typeLabel, gridLayout->rowCount() -1 , 0 );
//overwrite dialog shouldn't be handled by the qfiledialog
setConfirmOverwrite(false);
setOption(DontConfirmOverwrite, true);
setDirectory( OpenFlipperSettings().value("Core/CurrentDir").toString() );
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment