Hi,
build failure in knotes:

../src/configdialog/knoteconfigdialog.cpp:213:86: error: 'changed' is a 
protected member of 'KCModule'
    connect(mDefaultTitle, &QLineEdit::textChanged, this, 
QOverload<>::of(&KCModule::changed));
                                                                           
~~~~~~~~~~^~~~~~~
/usr/include/KF5/KConfigWidgets/kcmodule.h:377:10: note: must name member using 
the type of the current context 'KNoteMiscConfig'
    void changed();
         ^
../src/configdialog/knoteconfigdialog.cpp:320:114: error: 'changed' is a 
protected member of 'KCModule'
    connect(mCollectionConfigWidget, &KNoteCollectionConfigWidget::emitChanged, 
this, QOverload<>::of(&KCModule::changed));
                                                                                
                       ~~~~~~~~~~^~~~~~~
/usr/include/KF5/KConfigWidgets/kcmodule.h:377:10: note: must name member using 
the type of the current context 'KNoteCollectionConfig'
    void changed();
         ^
2 errors generated.

Fix attached.

ttyl
bero


On Friday, December 01, 2017 02:31 CET, Christoph Feck <[email protected]> wrote:

> Hello packagers,
>
> *.tar.xz files are available at the usual "unstable" location.
>
> Please report issues, release for the RC is planned tomorrow.
>
> This time, I have two versions of REVISIONS_AND_HASHES, the first
> includes all information created by the release script, the second omits
> the l10n revision numbers, because l10n is no longer released
> separately, and I wasn't sure if packagers need this information.
>
> REVISIONS_AND_HASHES at https://paste.kde.org/pwgjwaohf
> REVISIONS_AND_HASHES_withOUT_l10n at https://paste.kde.org/pv53ggn9n
>
> My public key at
> http://pgp.mit.edu/pks/lookup?op=get&search=0xF23275E4BF10AFC1DF6914A6DBD2CE893E2D1C87
>
> Thanks,
> Christoph Feck
--- knotes-17.11.90/src/configdialog/knoteconfigdialog.cpp.omv~	2017-12-02 20:35:45.818678460 +0100
+++ knotes-17.11.90/src/configdialog/knoteconfigdialog.cpp	2017-12-02 20:36:11.846720640 +0100
@@ -210,7 +210,7 @@ KNoteMiscConfig::KNoteMiscConfig(QWidget
     howItWorks->setContextMenuPolicy(Qt::NoContextMenu);
     lay->addStretch();
     load();
-    connect(mDefaultTitle, &QLineEdit::textChanged, this, QOverload<>::of(&KCModule::changed));
+    connect(mDefaultTitle, &QLineEdit::textChanged, this, QOverload<>::of(&KNoteMiscConfig::changed));
 }
 
 void KNoteMiscConfig::load()
@@ -317,7 +317,7 @@ KNoteCollectionConfig::KNoteCollectionCo
     QHBoxLayout *lay = new QHBoxLayout(this);
     mCollectionConfigWidget = new KNoteCollectionConfigWidget;
     lay->addWidget(mCollectionConfigWidget);
-    connect(mCollectionConfigWidget, &KNoteCollectionConfigWidget::emitChanged, this, QOverload<>::of(&KCModule::changed));
+    connect(mCollectionConfigWidget, &KNoteCollectionConfigWidget::emitChanged, this, QOverload<>::of(&KNoteCollectionConfig::changed));
     load();
 }
 

Reply via email to