Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 7601 in orxonox.OLD for branches/qt_gui/src/orxonox.cc


Ignore:
Timestamp:
May 12, 2006, 8:58:20 AM (18 years ago)
Author:
bensch
Message:

orxonox/qt_gui: QtGuiComboBox saveable

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/qt_gui/src/orxonox.cc

    r7595 r7601  
    314314  // init the resource manager
    315315  std::string dataPath;
    316   if ((dataPath = Preferences::getInstance()->getString(CONFIG_SECTION_DATA, CONFIG_NAME_DATADIR, ""))!= "")
     316  if ((dataPath = Preferences::getInstance()->getString(CONFIG_SECTION_GENERAL, CONFIG_NAME_DATADIR, ""))!= "")
    317317  {
    318318    if (!ResourceManager::getInstance()->setDataDir(dataPath) &&
     
    329329    ResourceManager::getInstance()->getDataDir().c_str(),
    330330    this->configFileName.c_str(),
    331               CONFIG_SECTION_DATA,
     331              CONFIG_SECTION_GENERAL,
    332332              CONFIG_NAME_DATADIR );
    333333    OrxGui::Gui* gui = new OrxGui::QtGui(argc, argv);
Note: See TracChangeset for help on using the changeset viewer.