forked from qt-creator/qt-creator
Core: Add a default parameter to various ICore::*path functions
Saves some code on the user side. Change-Id: I32cd220b6e533f5497a1865f9c34ab9db4cfda79 Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org> Reviewed-by: Eike Ziller <eike.ziller@qt.io>
This commit is contained in:
@@ -95,11 +95,11 @@ public:
|
||||
static QPrinter *printer();
|
||||
static QString userInterfaceLanguage();
|
||||
|
||||
static Utils::FilePath resourcePath();
|
||||
static Utils::FilePath userResourcePath();
|
||||
static Utils::FilePath cacheResourcePath();
|
||||
static Utils::FilePath installerResourcePath();
|
||||
static Utils::FilePath libexecPath();
|
||||
static Utils::FilePath resourcePath(const QString &rel = {});
|
||||
static Utils::FilePath userResourcePath(const QString &rel = {});
|
||||
static Utils::FilePath cacheResourcePath(const QString &rel = {});
|
||||
static Utils::FilePath installerResourcePath(const QString &rel = {});
|
||||
static Utils::FilePath libexecPath(const QString &rel = {});
|
||||
static Utils::FilePath crashReportsPath();
|
||||
|
||||
static QString ideDisplayName();
|
||||
|
||||
Reference in New Issue
Block a user