Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 7625 in orxonox.OLD for branches/qt_gui/src/lib/shell


Ignore:
Timestamp:
May 16, 2006, 9:17:10 AM (19 years ago)
Author:
bensch
Message:

qt_gui: Directory in File-style

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/qt_gui/src/lib/shell/shell_completion_plugin.cc

    r7616 r7625  
    9898    if (completionBegin.empty()) // if we do not yet have the beginning of the line, start with the chosen startDir.
    9999    {
    100       dir.open(ResourceManager::getInstance()->getDataDir() + this->_subDir);
     100      dir.setFileName(ResourceManager::getInstance()->getDataDir() + this->_subDir);
     101      dir.open();
    101102      while(dir)
    102103      {
     
    112113        directoryName = completionBegin.substr(0, pos);
    113114
    114       dir.open(ResourceManager::getInstance()->getDataDir() + directoryName);
     115      dir.setFileName(ResourceManager::getInstance()->getDataDir() + directoryName);
     116      dir.open();
    115117
    116118      std::string fileName;
Note: See TracChangeset for help on using the changeset viewer.