aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/cpaster/pastebindotcomprotocol.cpp
diff options
context:
space:
mode:
authorTobias Hunger <tobias.hunger@nokia.com>2012-03-05 11:44:54 +0100
committerTobias Hunger <tobias.hunger@nokia.com>2012-03-05 17:24:36 +0100
commitabed438cb5ea99f8b187fa78630e1c06a1bd9cc7 (patch)
tree344d477d24af5dcb531b86235fb29c459d52b2d4 /src/plugins/cpaster/pastebindotcomprotocol.cpp
parent98565438c34f90f2fc1c7b0c14a098a31dac18b4 (diff)
CPaster: Add Cpp protocol
Change-Id: Ic76ba31061420613683fd683125a32a3c583c84a Reviewed-by: Tobias Hunger <tobias.hunger@nokia.com>
Diffstat (limited to 'src/plugins/cpaster/pastebindotcomprotocol.cpp')
-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 6edaa7c69b..c94358fe0b 100644
--- a/src/plugins/cpaster/pastebindotcomprotocol.cpp
+++ b/src/plugins/cpaster/pastebindotcomprotocol.cpp
@@ -102,6 +102,7 @@ static inline QByteArray format(Protocol::ContentType ct)
case Protocol::Text:
break;
case Protocol::C:
+ case Protocol::Cpp:
return "paste_format=cpp";
break;
case Protocol::JavaScript: