diff options
author | RJ Ryan <rryan@mixxx.org> | 2014-01-26 16:07:51 -0500 |
---|---|---|
committer | RJ Ryan <rryan@mixxx.org> | 2014-02-13 23:31:29 -0500 |
commit | f3d5aaadbe4f9ddf2649364941479f1d058c1ebd (patch) | |
tree | 4ad119de16db86def0f6677e381cbb70e6354322 /src/dlgprefrecord.cpp | |
parent | 64325814e8214367fcebb34ee932b22b5d22ea8d (diff) |
Convert Sandbox from a Singleton to a static class.
It wasn't worth the effort of always checking if the instance was NULL.
Diffstat (limited to 'src/dlgprefrecord.cpp')
-rw-r--r-- | src/dlgprefrecord.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/dlgprefrecord.cpp b/src/dlgprefrecord.cpp index 09aa37e985..5597d4ddf7 100644 --- a/src/dlgprefrecord.cpp +++ b/src/dlgprefrecord.cpp @@ -244,7 +244,7 @@ void DlgPrefRecord::slotBrowseRecordingsDir() { // that we can access the folder on future runs. We need to canonicalize // the path so we first wrap the directory string with a QDir. QDir directory(fd); - Sandbox::instance()->createSecurityToken(directory); + Sandbox::createSecurityToken(directory); LineEditRecordings->setText(fd); } } |