mirror of
https://bitbucket.org/smil3y/kdelibs.git
synced 2025-02-23 18:32:49 +00:00
kio: const-ify variable
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
This commit is contained in:
parent
48745abc86
commit
4ccf3f79a6
1 changed files with 1 additions and 1 deletions
|
@ -60,7 +60,7 @@ QList<KFileMetaInfoItem> KFileMetaDataSpectrePlugin::metaData(const KUrl &url, c
|
|||
return result;
|
||||
}
|
||||
spectre_document_load(spectredocument, urlpath.constData());
|
||||
SpectreStatus spectrestatus = spectre_document_status(spectredocument);
|
||||
const SpectreStatus spectrestatus = spectre_document_status(spectredocument);
|
||||
if (spectrestatus != SPECTRE_STATUS_SUCCESS) {
|
||||
kWarning() << "Could not open" << urlpath;
|
||||
spectre_document_free(spectredocument);
|
||||
|
|
Loading…
Add table
Reference in a new issue