From 935b60b9939de0372e9a96e9459e4a5f1779690d Mon Sep 17 00:00:00 2001 From: Montel Laurent <laurent.montel@kdab.com> Date: Mon, 14 Jan 2013 11:19:51 +0100 Subject: [PATCH] Add missing break; So pastebin works otherwise there is an error on api. Change-Id: I367b4d8686c54903ad897be40308c76d93f0d387 Reviewed-by: Nicolas Arnaud-Cormos <nicolas@kdab.com> --- src/plugins/cpaster/pastebindotcomprotocol.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/plugins/cpaster/pastebindotcomprotocol.cpp b/src/plugins/cpaster/pastebindotcomprotocol.cpp index 4cbba323b77..aa99bcf4029 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; -- GitLab