shush the compiler

This commit is contained in:
Aaron Seigo 2011-07-11 20:55:19 +02:00 committed by David Faure
parent 10dcf8ffc0
commit fb128ee26b

View File

@ -227,11 +227,10 @@ void ToolTipContent::registerResources(QTextDocument *document) const
while (it.hasNext()) {
it.next();
const ToolTipResource &r = it.value();
QTextDocument::ResourceType t;
QTextDocument::ResourceType t = QTextDocument::ImageResource;
switch (r.type) {
case ImageResource:
t = QTextDocument::ImageResource;
break;
case HtmlResource:
t = QTextDocument::HtmlResource;