forked from Lainports/opnsense-ports
25 lines
875 B
Text
25 lines
875 B
Text
From 6337fac6fe3c566ffb61a2b4fe99f7d130915d90 Mon Sep 17 00:00:00 2001
|
|
From: Dmitry Smirnov <onlyjob@member.fsf.org>
|
|
Date: Sun, 21 Aug 2016 13:53:44 +1000
|
|
Subject: New patch to fix FTBFS with gcc 6 (Closes: #811882).
|
|
|
|
Thanks, Adrian Bunk.
|
|
|
|
Description: Fix the build with gcc 6
|
|
Author: Adrian Bunk <bunk@stusta.de>
|
|
Bug-Debian: https://bugs.debian.org/811882
|
|
|
|
--- src/knutprefdlg.cpp
|
|
+++ src/knutprefdlg.cpp
|
|
@@ -957,9 +957,9 @@
|
|
|
|
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);
|
|
|
|
topLayout->addStretch( 20 );
|
|
|