mirror of
https://github.com/QuasarApp/QuasarAppLib.git
synced 2025-05-03 13:09:41 +00:00
ufdate cmake
This commit is contained in:
parent
f84faab0dd
commit
f873269780
2
CMake
2
CMake
@ -1 +1 @@
|
||||
Subproject commit b0765bd212bd0a4fd310cb3dd99b4f1f8ac5dc57
|
||||
Subproject commit 93ff4e899ed4e39b6d3e882fcc6acdf199e729e3
|
@ -105,7 +105,11 @@ void Params::clearParsedData() {
|
||||
}
|
||||
|
||||
QString Params::getCurrentExecutable() {
|
||||
return getStrArg(APP_PATH) + "/" + getStrArg(APP_NAME);
|
||||
return getCurrentExecutableDir() + "/" + getStrArg(APP_NAME);
|
||||
}
|
||||
|
||||
QString Params::getCurrentExecutableDir() {
|
||||
return getStrArg(APP_PATH);
|
||||
}
|
||||
|
||||
int Params::size() {
|
||||
|
7
params.h
7
params.h
@ -164,6 +164,13 @@ public:
|
||||
* @return path to current executable.
|
||||
*/
|
||||
static QString getCurrentExecutable();
|
||||
|
||||
/**
|
||||
* @brief getCurrentExecutableDir This method return a path to a folder with the current executable.
|
||||
* @return path of executable.
|
||||
*/
|
||||
static QString getCurrentExecutableDir();
|
||||
|
||||
};
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user