Add patch to fix build with Qt5.13

This commit is contained in:
rsadowski 2020-09-16 10:36:48 +00:00
parent 3205cb8e18
commit 89c37db5a5
2 changed files with 16 additions and 1 deletions

View File

@ -1,9 +1,10 @@
# $OpenBSD: Makefile,v 1.3 2020/09/16 10:35:16 rsadowski Exp $
# $OpenBSD: Makefile,v 1.4 2020/09/16 10:36:48 rsadowski Exp $
COMMENT = scanning application for KDE
VERSION = 2.2.0
DISTNAME = skanlite-${VERSION}
REVISION = 0
CATEGORIES = graphics

View File

@ -0,0 +1,14 @@
$OpenBSD: patch-src_SaveLocation_cpp,v 1.1 2020/09/16 10:36:48 rsadowski Exp $
Index: src/SaveLocation.cpp
--- src/SaveLocation.cpp.orig
+++ src/SaveLocation.cpp
@@ -42,7 +42,7 @@ SaveLocation::SaveLocation(QWidget *parent)
connect(m_ui->u_urlRequester, &KUrlRequester::textChanged, this, &SaveLocation::updateGui);
connect(m_ui->u_imgPrefix, &QLineEdit::textChanged, this, &SaveLocation::updateGui);
#if QT_VERSION < QT_VERSION_CHECK(5, 14, 0)
- connect(u_imgFormat, static_cast<void (QComboBox::*)(const QString &)>(&QComboBox::activated), this, &SaveLocation::updateGui);
+ connect(m_ui->u_imgFormat, static_cast<void (QComboBox::*)(const QString &)>(&QComboBox::activated), this, &SaveLocation::updateGui);
#else
connect(m_ui->u_imgFormat, static_cast<void (QComboBox::*)(const QString &)>(&QComboBox::textActivated), this, &SaveLocation::updateGui);
#endif