mirror of
https://github.com/lubosz/overte.git
synced 2025-04-24 00:13:53 +02:00
fix crash for null pointer
This commit is contained in:
parent
3e43859139
commit
c106f4c3a0
1 changed files with 1 additions and 1 deletions
|
@ -106,7 +106,7 @@ public:
|
|||
|
||||
void setResource(GeometryResource::Pointer resource);
|
||||
|
||||
const QUrl& getURL() const { return _resource->getURL(); }
|
||||
QUrl GeometryResourceWatcher::getURL() const { return (bool)_resource ? _resource->getURL() : QUrl(); }
|
||||
|
||||
private:
|
||||
void startWatching();
|
||||
|
|
Loading…
Reference in a new issue