summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMontel Laurent <laurent.montel@kdab.com>2013-01-14 11:19:51 +0100
committerNicolas Arnaud-Cormos <nicolas@kdab.com>2013-01-21 07:48:37 +0100
commit935b60b9939de0372e9a96e9459e4a5f1779690d (patch)
tree6b43731289c4bdc4d67818800d9c2df5bd2c35dc
parentb61417f6c7491056d21c98514836d7b251bd307f (diff)
downloadqt-creator-935b60b9939de0372e9a96e9459e4a5f1779690d.tar.gz
Add missing break; So pastebin works otherwise there is an error on api.
Change-Id: I367b4d8686c54903ad897be40308c76d93f0d387 Reviewed-by: Nicolas Arnaud-Cormos <nicolas@kdab.com>
-rw-r--r--src/plugins/cpaster/pastebindotcomprotocol.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/plugins/cpaster/pastebindotcomprotocol.cpp b/src/plugins/cpaster/pastebindotcomprotocol.cpp
index 4cbba323b7..aa99bcf402 100644
--- a/src/plugins/cpaster/pastebindotcomprotocol.cpp
+++ b/src/plugins/cpaster/pastebindotcomprotocol.cpp
@@ -82,6 +82,7 @@ static inline QByteArray format(Protocol::ContentType ct)
break;
case Protocol::Cpp:
format += "cpp-qt";
+ break;
case Protocol::JavaScript:
format += "javascript";
break;