forked from qt-creator/qt-creator
Core: Remove unused functions
Change-Id: I4c9123818c8818550574a8bbd86376d38c51b9a6 Reviewed-by: hjk <hjk@qt.io> Reviewed-by: Eike Ziller <eike.ziller@qt.io>
This commit is contained in:
@@ -642,38 +642,6 @@ FilePath ICore::installerResourcePath(const QString &rel)
|
||||
/ appInfo().id / rel;
|
||||
}
|
||||
|
||||
/*!
|
||||
Returns the path to the plugins that are included in the \QC installation.
|
||||
|
||||
\internal
|
||||
*/
|
||||
QString ICore::pluginPath()
|
||||
{
|
||||
return QDir::cleanPath(QCoreApplication::applicationDirPath() + '/' + RELATIVE_PLUGIN_PATH);
|
||||
}
|
||||
|
||||
/*!
|
||||
Returns the path where user-specific plugins should be written.
|
||||
|
||||
\internal
|
||||
*/
|
||||
QString ICore::userPluginPath()
|
||||
{
|
||||
const QVersionNumber appVersion = QVersionNumber::fromString(
|
||||
QCoreApplication::applicationVersion());
|
||||
QString pluginPath = QStandardPaths::writableLocation(QStandardPaths::GenericDataLocation);
|
||||
if (Utils::HostOsInfo::isAnyUnixHost() && !Utils::HostOsInfo::isMacHost())
|
||||
pluginPath += "/data";
|
||||
pluginPath += '/' + QCoreApplication::organizationName() + '/';
|
||||
pluginPath += Utils::HostOsInfo::isMacHost() ? QGuiApplication::applicationDisplayName()
|
||||
: appInfo().id;
|
||||
pluginPath += "/plugins/";
|
||||
pluginPath += QString::number(appVersion.majorVersion()) + '.'
|
||||
+ QString::number(appVersion.minorVersion()) + '.'
|
||||
+ QString::number(appVersion.microVersion());
|
||||
return pluginPath;
|
||||
}
|
||||
|
||||
/*!
|
||||
Returns the path, based on the relative path \a rel, to the command line tools that are
|
||||
included in the \QC installation.
|
||||
|
@@ -147,8 +147,6 @@ public:
|
||||
static QString aboutInformationHtml();
|
||||
static QString systemInformation();
|
||||
static void setupScreenShooter(const QString &name, QWidget *w, const QRect &rc = QRect());
|
||||
static QString pluginPath();
|
||||
static QString userPluginPath();
|
||||
static Utils::FilePath clangExecutable(const Utils::FilePath &clangBinDirectory);
|
||||
static Utils::FilePath clangdExecutable(const Utils::FilePath &clangBinDirectory);
|
||||
static Utils::FilePath clangTidyExecutable(const Utils::FilePath &clangBinDirectory);
|
||||
|
Reference in New Issue
Block a user