Fixed crash with new thread-safety code (primarily on watermarks)

Actually added only showing "open recent set" if exists
Removed a call to deprecated functions.


git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@415 0fc631ac-6414-0410-93d0-97cfa31319b6
This commit is contained in:
coppro
2007-06-09 05:10:53 +00:00
parent 8133196f15
commit c4e340f9e4
3 changed files with 10 additions and 10 deletions
+1 -1
View File
@@ -47,7 +47,7 @@ class ScriptableImage {
}
/// Can this be safely generated from another thread?
bool threadSafe() const {return value->threadSafe();}
bool threadSafe() const {return value != nullptr ? value->threadSafe() : false; }
private:
OptionalScript script; ///< The script, not really optional