History

Switched to chared pointers and macros

Atlante45 committed 11 years ago

Commit e8a22f61 parent cf6aa565 files · +10 −8Browse files

Showing the changes to interface/src/Application.cpp (1 of 5 files). Show all

Unified · Split

interface/src/Application.cpp+1−2
@@ -194,7 +194,7 @@ Application::Application(int& argc, char** argv, QElapsedTimer &startup_time) : · 193 unmodified lines
194194 _isVSyncOn(true),
195195 _aboutToQuit(false)
196196 {
197− QSharedPointer<GLCanvas> glCanvas = DependencyManager::get<GLCanvas>();
197+ GLCanvas::SharedPointer glCanvas = DependencyManager::get<GLCanvas>();
198198
199199 // read the ApplicationInfo.ini file for Name/Version/Domain information
200200 QSettings applicationInfo(Application::resourcesPath() + "info/ApplicationInfo.ini", QSettings::IniFormat);
@@ -442,7 +442,6 @@ void Application::aboutToQuit() { · 241 unmodified lines
442442 }
443443
444444 Application::~Application() {
445− DependencyManager::get<GLCanvas>()->setParent(NULL);
446445
447446 _entities.getTree()->setSimulation(NULL);
448447 qInstallMessageHandler(NULL);

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t