Changeset View
Changeset View
Standalone View
Standalone View
src/tagsfileitemactionplugin/tagsfileitemaction.cpp
Show First 20 Lines • Show All 110 Lines • ▼ Show 20 Line(s) | 110 | if (!QFileInfo(filePath).isWritable()) { | |||
---|---|---|---|---|---|
111 | return {}; | 111 | return {}; | ||
112 | } | 112 | } | ||
113 | 113 | | |||
114 | m_metaData = new KFileMetaData::UserMetaData(filePath); | 114 | m_metaData = new KFileMetaData::UserMetaData(filePath); | ||
115 | if (!m_metaData->isSupported()) { | 115 | if (!m_metaData->isSupported()) { | ||
116 | return {}; | 116 | return {}; | ||
117 | } | 117 | } | ||
118 | 118 | | |||
119 | m_tagsLister.openUrl(QUrl("tags:/"), KCoreDirLister::OpenUrlFlag::Reload); | 119 | m_tagsLister.openUrl(QUrl(QStringLiteral("tags:/")), KCoreDirLister::OpenUrlFlag::Reload); | ||
120 | 120 | | |||
121 | return {m_menu->menuAction()}; | 121 | return {m_menu->menuAction()}; | ||
122 | } | 122 | } | ||
123 | 123 | | |||
124 | #include "tagsfileitemaction.moc" | 124 | #include "tagsfileitemaction.moc" |