~stolowski/unity-scopes-shell/art-uri-snap-root

« back to all changes in this revision

Viewing changes to src/Unity/settingsmodel.h

  • Committer: Bileto Bot
  • Author(s): Marcus Tomlinson
  • Date: 2016-10-04 08:59:14 UTC
  • mfrom: (345.1.1 trunk)
  • Revision ID: ci-train-bot@canonical.com-20161004085914-6oqgwuine69q82z4
Don't make changes to the settings model from a separate thread. (LP: #1627795)

Show diffs side-by-side

added added

removed removed

Lines of Context:
29
29
 
30
30
#include <QAbstractListModel>
31
31
#include <QList>
32
 
#include <QMutex>
33
32
#include <QSharedPointer>
34
33
 
35
34
QT_BEGIN_NAMESPACE
95
94
    void tryLoadSettings(bool read_only) const;
96
95
 
97
96
protected:
98
 
    mutable QMutex m_mutex;
99
97
    QString m_scopeId;
100
98
    unity::scopes::ScopeProxy m_scopeProxy;
101
99
    int m_settingsTimeout;