Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Sep 12, 2010, 3:12:55 PM (14 years ago)
Author:
rgrieder
Message:

Fixed various problems revealed on tardis

Location:
sandbox_qt/src/libraries/core
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • sandbox_qt/src/libraries/core/CMakeLists.txt

    r7424 r7425  
    1919
    2020SET_SOURCE_FILES(CORE_SRC_FILES
    21   CommandlineParser.cc
     21  CommandLineParser.cc
    2222  Core.cc
    2323  PathConfig.cc
  • sandbox_qt/src/libraries/core/Core.cc

    r7424 r7425  
    3737
    3838#include <cassert>
     39#include <cstdlib>
    3940#include <ctime>
    4041#include <fstream>
     
    107108    /**
    108109    @brief
    109         All destruction code is handled by QScopedPointers
     110        All destruction code is handled by std::auto_ptr
    110111    */
    111112    Core::~Core()
  • sandbox_qt/src/libraries/core/Core.h

    r7424 r7425  
    4444#include "CorePrereqs.h"
    4545
     46#include <memory>
    4647#include <string>
    47 #include <QScopedPointer>
    4848#include <loki/ScopeGuard.h>
    4949
     
    8686            // MANAGED SINGLETONS/OBJECTS
    8787            // Mind the order for the destruction!
    88             QScopedPointer<PathConfig>    pathConfig_;
     88            std::auto_ptr<PathConfig>     pathConfig_;
    8989
    9090            int                           softDebugLevelLogFile_;      //!< The debug level for the log file (belongs to OutputHandler)
Note: See TracChangeset for help on using the changeset viewer.