Members of the KDE Community are recommended to subscribe to the kde-community mailing list at to allow them to participate in important discussions and receive other important announcements

Commit e89a5ede authored by Laurent Montel's avatar Laurent Montel 😁

Return true if we find identity

parent 3753d2a7
cmake_minimum_required(VERSION 3.0)
set(PIM_VERSION "5.6.41")
set(PIM_VERSION "5.6.42")
project(MailTransport VERSION ${PIM_VERSION})
......@@ -54,12 +54,14 @@ int TransportComboBox::currentTransportId() const
return -1;
void TransportComboBox::setCurrentTransport(int transportId)
bool TransportComboBox::setCurrentTransport(int transportId)
const int i = d->transports.indexOf(transportId);
if (i >= 0 && i < count()) {
return true;
return false;
QString TransportComboBox::transportType() const
......@@ -52,8 +52,9 @@ public:
Selects the given transport.
@param transportId The transport identifier.
@return return true if we success to find transportId
void setCurrentTransport(int transportId);
bool setCurrentTransport(int transportId);
Returns the type of the selected transport.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment