Add patch to fix build with Qt5.13
This commit is contained in:
parent
3205cb8e18
commit
89c37db5a5
@ -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
|
||||
|
||||
|
14
graphics/skanlite/patches/patch-src_SaveLocation_cpp
Normal file
14
graphics/skanlite/patches/patch-src_SaveLocation_cpp
Normal 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
|
Loading…
Reference in New Issue
Block a user