Skip to content

Commit

Permalink
kde-apps/kmailtransport: Fix draft message mailtransport
Browse files Browse the repository at this point in the history
Package-Manager: Portage-2.3.19, Repoman-2.3.6
  • Loading branch information
a17r committed Jan 16, 2018
1 parent 80002ef commit edbd461
Show file tree
Hide file tree
Showing 2 changed files with 73 additions and 0 deletions.
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

46 changes: 46 additions & 0 deletions kde-apps/kmailtransport/kmailtransport-17.12.1-r1.ebuild
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"

0 comments on commit edbd461

Please sign in to comment.