Browse Source

Merge pull request #7 from Tilka/master

Change MIME type for PNG images to image/png
adaptive-webui-19844
Christophe Dumez 13 years ago
parent
commit
83494f999a
  1. 2
      src/webui/html/about.html
  2. 2
      src/webui/httpresponsegenerator.cpp

2
src/webui/html/about.html

@ -1,4 +1,4 @@
<img src="../images/skin/mascot.png" align="right"></img> <img src="images/skin/mascot.png" align="right"></img>
<p>qBittorrent ${VERSION} (Web UI)</p> <p>qBittorrent ${VERSION} (Web UI)</p>
<p>Copyright (c) 2011 <a href="mailto:chris@qbittorrent.org">Christophe Dumez</a></p> <p>Copyright (c) 2011 <a href="mailto:chris@qbittorrent.org">Christophe Dumez</a></p>
<p>Homepage: <a href="http://www.qbittorrent.com">http://www.qbittorrent.com</a></p> <p>Homepage: <a href="http://www.qbittorrent.com">http://www.qbittorrent.com</a></p>

2
src/webui/httpresponsegenerator.cpp

@ -60,7 +60,7 @@ void HttpResponseGenerator::setContentTypeByExt(const QString& ext) {
return; return;
} }
if (ext == "png") { if (ext == "png") {
setContentType("image/x-png"); setContentType("image/png");
return; return;
} }
} }

Loading…
Cancel
Save