diff options
author | Friedemann Kleint <[email protected]> | 2013-11-18 10:28:53 +0100 |
---|---|---|
committer | The Qt Project <[email protected]> | 2013-11-18 11:15:04 +0100 |
commit | a01ad3934b0fe188522f36b1099bb409049d6f18 (patch) | |
tree | 80be93861b4f9befecd42089c5e9c6f91341139e | |
parent | f0553874b30b16675fde63b0f62e35768182ccea (diff) |
qqmldebugclient.cpp: Fix warning about missing return.
In file included from ../shared/qqmldebugclient.cpp:473:0:
../shared/qqmldebugclient.cpp: In member function
'QString QQmlDebugClient::stateString() const':
../shared/qqmldebugclient.cpp:452:1: warning: control reaches end of
non-void function
Change-Id: Ic5422dcff41591691621077ade45b6ea3ea3a8f1
Reviewed-by: Kai Koehne <[email protected]>
-rw-r--r-- | tests/auto/qml/debugger/shared/qqmldebugclient.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/auto/qml/debugger/shared/qqmldebugclient.cpp b/tests/auto/qml/debugger/shared/qqmldebugclient.cpp index 95674ce6d7..6474a04796 100644 --- a/tests/auto/qml/debugger/shared/qqmldebugclient.cpp +++ b/tests/auto/qml/debugger/shared/qqmldebugclient.cpp @@ -449,6 +449,7 @@ QString QQmlDebugClient::stateString() const case Unavailable: return QLatin1String("Unavailable"); case Enabled: return QLatin1String("Enabled"); } + return QLatin1String("Invalid"); } void QQmlDebugClient::sendMessage(const QByteArray &message) |