forked from gentoo/gentoo
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
kde-apps/kmailtransport: Fix draft message mailtransport
Package-Manager: Portage-2.3.19, Repoman-2.3.6
- Loading branch information
Showing
2 changed files
with
73 additions
and
0 deletions.
There are no files selected for viewing
27 changes: 27 additions & 0 deletions
27
kde-apps/kmailtransport/files/kmailtransport-17.12.1-draft-message-fix.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
From 424f0273dbebd115da6812e0b680fb911f282cd4 Mon Sep 17 00:00:00 2001 | ||
From: Laurent Montel <[email protected]> | ||
Date: Mon, 15 Jan 2018 07:04:47 +0100 | ||
Subject: Fix Bug 388573 - Draft message is confused about mail transport | ||
|
||
FIXED-IN: 5.7.2 | ||
BUG: 388573 | ||
--- | ||
src/kmailtransport/widgets/transportcombobox.cpp | 2 +- | ||
1 file changed, 1 insertion(+), 1 deletion(-) | ||
|
||
diff --git a/src/kmailtransport/widgets/transportcombobox.cpp b/src/kmailtransport/widgets/transportcombobox.cpp | ||
index b538f98..f198c4e 100644 | ||
--- a/src/kmailtransport/widgets/transportcombobox.cpp | ||
+++ b/src/kmailtransport/widgets/transportcombobox.cpp | ||
@@ -37,7 +37,7 @@ TransportComboBox::TransportComboBox(QWidget *parent) | ||
: QComboBox(parent) | ||
, d(new TransportComboBoxPrivate) | ||
{ | ||
- QMetaObject::invokeMethod(this, "updateComboboxList"); | ||
+ updateComboboxList(); | ||
connect(TransportManager::self(), &TransportManager::transportsChanged, this, &TransportComboBox::updateComboboxList); | ||
connect(TransportManager::self(), &TransportManager::transportRemoved, this, &TransportComboBox::transportRemoved); | ||
} | ||
-- | ||
cgit v0.11.2 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,46 @@ | ||
# Copyright 1999-2018 Gentoo Foundation | ||
# Distributed under the terms of the GNU General Public License v2 | ||
|
||
EAPI=6 | ||
|
||
KDE_TEST="true" | ||
inherit kde5 | ||
|
||
DESCRIPTION="Mail transport service" | ||
LICENSE="LGPL-2.1+" | ||
KEYWORDS="~amd64 ~x86" | ||
IUSE="" | ||
|
||
COMMON_DEPEND=" | ||
$(add_frameworks_dep kcmutils) | ||
$(add_frameworks_dep kcompletion) | ||
$(add_frameworks_dep kconfig) | ||
$(add_frameworks_dep kconfigwidgets) | ||
$(add_frameworks_dep kcoreaddons) | ||
$(add_frameworks_dep ki18n) | ||
$(add_frameworks_dep kio) | ||
$(add_frameworks_dep kwallet) | ||
$(add_frameworks_dep kwidgetsaddons) | ||
$(add_kdeapps_dep akonadi) | ||
$(add_kdeapps_dep akonadi-mime) | ||
$(add_kdeapps_dep kmime) | ||
$(add_kdeapps_dep ksmtp) | ||
$(add_qt_dep qtdbus) | ||
$(add_qt_dep qtgui) | ||
$(add_qt_dep qtnetwork) | ||
$(add_qt_dep qtwidgets) | ||
" | ||
DEPEND="${COMMON_DEPEND} | ||
test? ( $(add_frameworks_dep ktextwidgets) ) | ||
" | ||
RDEPEND="${COMMON_DEPEND} | ||
!kde-apps/kdepim-l10n | ||
!kde-apps/kdepimlibs:4 | ||
" | ||
|
||
PATCHES=( | ||
"${FILESDIR}/${PN}-17.11.80-deps.patch" | ||
"${FILESDIR}/${P}-draft-message-fix.patch" | ||
) | ||
|
||
RESTRICT+=" test" |