tags 811882 -help
tags 811882 +patch
thanks

Hi Dmitry,

the attached patch fixes the knutclient FTBFS with gcc 6.

cu
Adrian

-- 

       "Is there not promise of rain?" Ling Tan asked suddenly out
        of the darkness. There had been need of rain for many days.
       "Only a promise," Lao Er said.
                                       Pearl S. Buck - Dragon Seed

Description: Fix the build with gcc 6
Author: Adrian Bunk <b...@stusta.de>
Bug-Debian: https://bugs.debian.org/811882

--- knutclient-1.0.5.orig/src/knutprefdlg.cpp
+++ knutclient-1.0.5/src/knutprefdlg.cpp
@@ -958,7 +958,7 @@ void KNutPrefDlg::initFonts () {
   QHBoxLayout *setFontLayout = new QHBoxLayout();
   QStringList fontsList;
   KFontChooser::getFontList(fontsList, KFontChooser::SmoothScalableFonts);
-  m_fontWidget = new KFontChooser(mainPageWidget, false, fontsList);
+  m_fontWidget = new KFontChooser(mainPageWidget, KFontChooser::NoDisplayFlags, fontsList);
   setFontLayout->addWidget (m_fontWidget ,0);
   topLayout->addLayout(setFontLayout);
 

Reply via email to