mirror of
https://github.com/SpartanJ/eepp.git
synced 2026-08-11 01:01:25 +03:00
Methods UIWidget::setLayoutSizePolicy, UIWidget::setLayoutWidthPolicy, UIWidget::setLayoutHeightPolicy now trigger auto resize when changing its size policy to SizePolicy::WrapContent.
Added Sys::getLogicalDrives, implemented for Windows and Linux. UIFileDialog now shows the local drives when no more parent folders are present (when you can't go "up" anymore). Added DiskDrivesModel. Replaced all strcmp with strncmp. FileSystem::mkDir now supports recursive mkdir. Improvements and fixes in UIAbstractTableView, UITableView and UITreeView. Silenced use-after-free warning in the Memory Manager. Allow use premake option "--with-debug-symbols" for Windows builds. Closes SpartanJ/ecode#8.
This commit is contained in:
@@ -439,7 +439,7 @@ void AppConfig::loadProject( std::string projectFolder, UICodeEditorSplitter* ed
|
||||
size_t i = 0;
|
||||
std::vector<ProjectPath> paths;
|
||||
do {
|
||||
std::string val( ini.getValue( "files", String::format( "file_name_%lu", i ) ) );
|
||||
std::string val( ini.getValue( "files", String::format( "file_name_%zu", i ) ) );
|
||||
found = !val.empty();
|
||||
if ( found ) {
|
||||
auto pp = ProjectPath::fromString( val );
|
||||
|
||||
Reference in New Issue
Block a user