mirror of
https://invent.kde.org/graphics/okular
synced 2024-09-17 23:11:48 +00:00
Remove outdated compiler message
This commit is contained in:
parent
f2dc74fc19
commit
d2f4f1c2d7
|
@ -2388,7 +2388,6 @@ Document::OpenResult Document::openDocument(const QString & docFile, const QUrl
|
||||||
// There's still no offers, do a final mime search based on the filename
|
// There's still no offers, do a final mime search based on the filename
|
||||||
// We need this because sometimes (e.g. when downloading from a webserver) the mimetype we
|
// We need this because sometimes (e.g. when downloading from a webserver) the mimetype we
|
||||||
// use is the one fed by the server, that may be wrong
|
// use is the one fed by the server, that may be wrong
|
||||||
#pragma message("Fix generator loading")
|
|
||||||
newmime = db.mimeTypeForUrl( url );
|
newmime = db.mimeTypeForUrl( url );
|
||||||
|
|
||||||
if ( !newmime.isDefault() && newmime != mime )
|
if ( !newmime.isDefault() && newmime != mime )
|
||||||
|
|
Loading…
Reference in a new issue