mirror of
https://github.com/glest/glest-source.git
synced 2025-08-21 23:45:14 +02:00
code cleanup from cppcheck
This commit is contained in:
@@ -423,7 +423,7 @@ MainWindow::MainWindow( std::pair<string,vector<string> > unitToLoad,
|
||||
if(modelPath != "") {
|
||||
fileDialog->SetPath(ToUnicode(modelPath));
|
||||
}
|
||||
string userData = Config::getInstance().getString("UserData_Root","");
|
||||
string userData = config.getString("UserData_Root","");
|
||||
if(userData != "") {
|
||||
endPathWithSlash(userData);
|
||||
}
|
||||
|
Reference in New Issue
Block a user