~ubuntu-sdk-team/ubuntu-ui-toolkit/staging

« back to all changes in this revision

Viewing changes to tests/unit_x11/tst_statesaver/tst_statesaver.cpp

  • Committer: Tarmac
  • Author(s): Zsombor Egri
  • Date: 2014-09-21 16:59:57 UTC
  • mfrom: (1226.3.18 statesaver-fix)
  • Revision ID: tarmac-20140921165957-scufqr0esv7s16h7
Fixing wrong path used in saving state file. Fixes: https://bugs.launchpad.net/bugs/1363112.

Approved by PS Jenkins bot, Christian Dywan, Zsombor Egri.

Show diffs side-by-side

added added

removed removed

Lines of Context:
77
77
 
78
78
    QString stateFile(const QString &appId)
79
79
    {
80
 
        return QString("%1/%2.state")
 
80
        return QString("%1/%2/statesaver.appstate")
81
81
                .arg(QStandardPaths::writableLocation(QStandardPaths::RuntimeLocation))
82
82
                .arg(appId);
83
83
    }