diff --git a/inputcontext/QskInputContextPlugin.cpp b/inputcontext/QskInputContextPlugin.cpp index b33f11c5..7755a346 100644 --- a/inputcontext/QskInputContextPlugin.cpp +++ b/inputcontext/QskInputContextPlugin.cpp @@ -20,10 +20,10 @@ namespace { - class InputContextFactory : public QskInputContextFactory + class InputContextFactory final : public QskInputContextFactory { public: - virtual QskTextPredictor* createPredictor( const QLocale& locale ) const + QskTextPredictor* createPredictor( const QLocale& locale ) const override { #if HUNSPELL /* diff --git a/inputcontext/inputcontext.pro b/inputcontext/inputcontext.pro index bb49b002..675247b1 100644 --- a/inputcontext/inputcontext.pro +++ b/inputcontext/inputcontext.pro @@ -10,9 +10,6 @@ TARGET = $$qskLibraryTarget(qskinputcontext) QT += quick gui-private CONFIG += no_private_qt_headers_warning -# disable warnings for 3rdparty libs only TODO -CONFIG += warn_off - # CONFIG += pinyin # CONFIG += hunspell