shush the compiler
This commit is contained in:
parent
c25f3e4cab
commit
dedbbb5f56
@ -227,11 +227,10 @@ void ToolTipContent::registerResources(QTextDocument *document) const
|
|||||||
while (it.hasNext()) {
|
while (it.hasNext()) {
|
||||||
it.next();
|
it.next();
|
||||||
const ToolTipResource &r = it.value();
|
const ToolTipResource &r = it.value();
|
||||||
QTextDocument::ResourceType t;
|
QTextDocument::ResourceType t = QTextDocument::ImageResource;
|
||||||
|
|
||||||
switch (r.type) {
|
switch (r.type) {
|
||||||
case ImageResource:
|
case ImageResource:
|
||||||
t = QTextDocument::ImageResource;
|
|
||||||
break;
|
break;
|
||||||
case HtmlResource:
|
case HtmlResource:
|
||||||
t = QTextDocument::HtmlResource;
|
t = QTextDocument::HtmlResource;
|
||||||
|
Loading…
Reference in New Issue
Block a user