- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/Actions/CmdAction/ElementDbAction.cpp
r198494 r97ebf8 7 7 8 8 #include "Actions/CmdAction/ElementDbAction.hpp" 9 #include "CommandLineParser.hpp" 9 10 #include "config.hpp" 10 11 #include "log.hpp" … … 40 41 config *configuration = World::getInstance().getConfig(); 41 42 dialog->queryString(NAME, &databasepath, MapOfActions::getInstance().getDescription(NAME)); 43 strcpy(configuration->databasepath, databasepath.c_str()); 42 44 43 45 if(dialog->display()) { 44 strcpy(configuration->databasepath, databasepath.c_str());45 46 delete dialog; 46 47 } else { 47 48 delete dialog; 48 return Action::failure;49 49 } 50 50
Note:
See TracChangeset
for help on using the changeset viewer.