summaryrefslogtreecommitdiff
blob: 78a52547561a320111b9bdc2b73003dd45b1ec3b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
From 424f0273dbebd115da6812e0b680fb911f282cd4 Mon Sep 17 00:00:00 2001
From: Laurent Montel <montel@kde.org>
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