~afrantzis/unity8/power-state-change-reason-snap-decision

« back to all changes in this revision

Viewing changes to tests/mocks/Unity/fake_previewstack.h

  • Committer: CI Train Bot
  • Author(s): Albert Astals Cid
  • Date: 2015-09-22 12:57:08 UTC
  • mfrom: (1955.2.1 keepPreviewStackAround)
  • Revision ID: ci-train-bot@canonical.com-20150922125708-wh6k112ylydltgcg
Keep the PreviewStack around to avoid mem leaks Fixes: #1495467
Approved by: Michał Sawicz

Show diffs side-by-side

added added

removed removed

Lines of Context:
32
32
    Q_OBJECT
33
33
 
34
34
public:
35
 
    explicit PreviewStack(QObject* parent = 0, Scope* scope = 0);
 
35
    explicit PreviewStack(Scope* scope = 0);
36
36
    virtual ~PreviewStack();
37
37
 
38
38
    QVariant data(const QModelIndex& index, int role = Qt::DisplayRole) const override;