summaryrefslogtreecommitdiffstats
path: root/tools/linguist/linguist/phraseview.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tools/linguist/linguist/phraseview.cpp')
-rw-r--r--tools/linguist/linguist/phraseview.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/tools/linguist/linguist/phraseview.cpp b/tools/linguist/linguist/phraseview.cpp
index a027712..b26d206 100644
--- a/tools/linguist/linguist/phraseview.cpp
+++ b/tools/linguist/linguist/phraseview.cpp
@@ -39,6 +39,7 @@
**
****************************************************************************/
+#include "globals.h"
#include "mainwindow.h"
#include "messagemodel.h"
#include "phrase.h"
@@ -61,7 +62,7 @@ static const int MaxCandidates = 5;
static QString phraseViewHeaderKey()
{
- return settingsPrefix() + QLatin1String("PhraseViewHeader");
+ return settingPath("PhraseViewHeader");
}
PhraseView::PhraseView(MultiDataModel *model, QList<QHash<QString, QList<Phrase *> > > *phraseDict, QWidget *parent)