Work around silly gcc warning.

This commit is contained in:
Christian Kandeler
2011-02-03 17:41:28 +01:00
parent 7caf52125e
commit 1e1f8d7973

View File

@@ -287,7 +287,7 @@ void S60DeployStep::start()
|| m_channel == S60DeployConfiguration::CommunicationCodaSerialConnection);
bool trkClient = m_channel == S60DeployConfiguration::CommunicationTrkSerialConnection;
if (serialConnection && m_serialPortName.isEmpty()
if ((serialConnection && m_serialPortName.isEmpty())
|| (trkClient && !m_launcher)) {
errorMessage = tr("No device is connected. Please connect a device and try again.");
reportError(errorMessage);