forked from qt-creator/qt-creator
Remove spaces in initializer lists
Format initializer lists code style like. Change-Id: Ib82c235e4ba7dc75ee96a7abc0c47eff7b0a9013 Reviewed-by: hjk <hjk@qt.io>
This commit is contained in:
@@ -47,37 +47,37 @@ struct ExtensionMap {
|
||||
const char *extension;
|
||||
const char *mimeType;
|
||||
} extensionMap[] = {
|
||||
{ ".bmp", "image/bmp" },
|
||||
{ ".css", "text/css" },
|
||||
{ ".gif", "image/gif" },
|
||||
{ ".html", "text/html" },
|
||||
{ ".htm", "text/html" },
|
||||
{ ".ico", "image/x-icon" },
|
||||
{ ".jpeg", "image/jpeg" },
|
||||
{ ".jpg", "image/jpeg" },
|
||||
{ ".js", "application/x-javascript" },
|
||||
{ ".mng", "video/x-mng" },
|
||||
{ ".pbm", "image/x-portable-bitmap" },
|
||||
{ ".pgm", "image/x-portable-graymap" },
|
||||
{ ".pdf", "application/pdf" },
|
||||
{ ".png", "image/png" },
|
||||
{ ".ppm", "image/x-portable-pixmap" },
|
||||
{ ".rss", "application/rss+xml" },
|
||||
{ ".svg", "image/svg+xml" },
|
||||
{ ".svgz", "image/svg+xml" },
|
||||
{ ".text", "text/plain" },
|
||||
{ ".tif", "image/tiff" },
|
||||
{ ".tiff", "image/tiff" },
|
||||
{ ".txt", "text/plain" },
|
||||
{ ".xbm", "image/x-xbitmap" },
|
||||
{ ".xml", "text/xml" },
|
||||
{ ".xpm", "image/x-xpm" },
|
||||
{ ".xsl", "text/xsl" },
|
||||
{ ".xhtml", "application/xhtml+xml" },
|
||||
{ ".wml", "text/vnd.wap.wml" },
|
||||
{ ".wmlc", "application/vnd.wap.wmlc" },
|
||||
{ "about:blank", 0 },
|
||||
{ 0, 0 }
|
||||
{".bmp", "image/bmp"},
|
||||
{".css", "text/css"},
|
||||
{".gif", "image/gif"},
|
||||
{".html", "text/html"},
|
||||
{".htm", "text/html"},
|
||||
{".ico", "image/x-icon"},
|
||||
{".jpeg", "image/jpeg"},
|
||||
{".jpg", "image/jpeg"},
|
||||
{".js", "application/x-javascript"},
|
||||
{".mng", "video/x-mng"},
|
||||
{".pbm", "image/x-portable-bitmap"},
|
||||
{".pgm", "image/x-portable-graymap"},
|
||||
{".pdf", "application/pdf"},
|
||||
{".png", "image/png"},
|
||||
{".ppm", "image/x-portable-pixmap"},
|
||||
{".rss", "application/rss+xml"},
|
||||
{".svg", "image/svg+xml"},
|
||||
{".svgz", "image/svg+xml"},
|
||||
{".text", "text/plain"},
|
||||
{".tif", "image/tiff"},
|
||||
{".tiff", "image/tiff"},
|
||||
{".txt", "text/plain"},
|
||||
{".xbm", "image/x-xbitmap"},
|
||||
{".xml", "text/xml"},
|
||||
{".xpm", "image/x-xpm"},
|
||||
{".xsl", "text/xsl"},
|
||||
{".xhtml", "application/xhtml+xml"},
|
||||
{".wml", "text/vnd.wap.wml"},
|
||||
{".wmlc", "application/vnd.wap.wmlc"},
|
||||
{"about:blank", 0},
|
||||
{0, 0}
|
||||
};
|
||||
|
||||
HelpViewer::HelpViewer(QWidget *parent)
|
||||
|
||||
Reference in New Issue
Block a user