mirror of
https://gitlab.com/Syping/gta5view-cmd
synced 2024-11-21 21:20:22 +01:00
.g5e/pgta -> .jpg fixed
This commit is contained in:
parent
29d88bca6e
commit
e396f29b2d
1 changed files with 7 additions and 1 deletions
8
main.cpp
8
main.cpp
|
@ -34,9 +34,10 @@ int main(int argc, char *argv[])
|
||||||
|
|
||||||
if (args.length() >= 3)
|
if (args.length() >= 3)
|
||||||
{
|
{
|
||||||
|
QString format = "jpg";
|
||||||
bool isDefault = true;
|
bool isDefault = true;
|
||||||
bool avatarMode = false;
|
bool avatarMode = false;
|
||||||
bool convertToGTA = true;
|
bool convertToGTA = false;
|
||||||
bool customFormat = false;
|
bool customFormat = false;
|
||||||
bool keepAspectRatio = true;
|
bool keepAspectRatio = true;
|
||||||
QMap<QString,QString> flags;
|
QMap<QString,QString> flags;
|
||||||
|
@ -53,6 +54,11 @@ int main(int argc, char *argv[])
|
||||||
convertToGTA = true;
|
convertToGTA = true;
|
||||||
customFormat = true;
|
customFormat = true;
|
||||||
}
|
}
|
||||||
|
else if (args.at(3) == "-jpg")
|
||||||
|
{
|
||||||
|
format = "jpg";
|
||||||
|
convertToGTA = false;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
if (args.length() >= 5)
|
if (args.length() >= 5)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue