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