~cyril-jacquet/plume-creator/devel

« back to all changes in this revision

Viewing changes to src/hub.h

  • Committer: Cyril Jacquet
  • Date: 2013-12-12 16:28:27 UTC
  • Revision ID: git-v1:53209a150c7c4ad05a79f973c957c621541e0be4
fix huge memory leak from activating spell checker

Show diffs side-by-side

added added

removed removed

Lines of Context:
39
39
#include "wordcountenginethread.h"
40
40
#include "zipper/zipchecker.h"
41
41
#include "themes.h"
 
42
#include "spellchecker.h"
42
43
 
43
44
class Hub : public QWidget
44
45
{
183
184
    // spell check :
184
185
    void spellDictsChangedSlot(const QString dictionaryPath);
185
186
    void setUserDict(QStringList userDict);
 
187
    SpellChecker *spellChecker();
186
188
 
187
189
private slots:
188
190
    void saveProject(QString mode = "");
246
248
    // spell check :
247
249
    QStringList m_userDict;
248
250
    QString m_spellDictPath;
 
251
    SpellChecker *m_spellChecker;
249
252
 
250
253
    // themes
251
254
    Themes *m_themes;