Changeset View
Changeset View
Standalone View
Standalone View
src/externalextractor.cpp
Show First 20 Lines • Show All 48 Lines • ▼ Show 20 Line(s) | |||||
49 | 49 | | |||
50 | ExternalExtractor::ExternalExtractor(QObject* parent) | 50 | ExternalExtractor::ExternalExtractor(QObject* parent) | ||
51 | : ExtractorPlugin(parent), | 51 | : ExtractorPlugin(parent), | ||
52 | d_ptr(new ExternalExtractorPrivate) | 52 | d_ptr(new ExternalExtractorPrivate) | ||
53 | { | 53 | { | ||
54 | } | 54 | } | ||
55 | 55 | | |||
56 | ExternalExtractor::ExternalExtractor(const QString& pluginPath) | 56 | ExternalExtractor::ExternalExtractor(const QString& pluginPath) | ||
57 | : ExtractorPlugin(new QObject()), | 57 | : ExtractorPlugin(nullptr), | ||
58 | d_ptr(new ExternalExtractorPrivate) | 58 | d_ptr(new ExternalExtractorPrivate) | ||
59 | { | 59 | { | ||
60 | Q_D(ExternalExtractor); | 60 | Q_D(ExternalExtractor); | ||
61 | 61 | | |||
62 | d->path = pluginPath; | 62 | d->path = pluginPath; | ||
63 | 63 | | |||
64 | QDir pluginDir(pluginPath); | 64 | QDir pluginDir(pluginPath); | ||
65 | QStringList pluginDirContents = pluginDir.entryList(); | 65 | QStringList pluginDirContents = pluginDir.entryList(); | ||
▲ Show 20 Lines • Show All 100 Lines • Show Last 20 Lines |