summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/preferences-test.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/preferences-test.h b/src/preferences-test.h
index 32218daf3..79f852106 100644
--- a/src/preferences-test.h
+++ b/src/preferences-test.h
@@ -78,7 +78,7 @@ public:
prefs->addObserver(obs);
prefs->setInt(path, 10);
TS_ASSERT_EQUALS(obs.value, 10);
- prefs->setInt("some/other/random/path", 10);
+ prefs->setInt("/some/other/random/path", 10);
TS_ASSERT_EQUALS(obs.value, 10); // value should not change
prefs->removeObserver(obs);