Adjust Windows default command for windows and area

main
Chris Rizzitello 2023-10-04 08:57:48 -04:00 committed by jkennedyvz
parent 46cad51d69
commit d0b1374b70
1 changed files with 2 additions and 2 deletions

View File

@ -148,7 +148,7 @@ QString AppConfig::defaultValue(const QString &key)
#ifdef Q_OS_LINUX
return QFile::exists(gnomeSS) ? gnomeAreaCommand : QFile::exists(kdeSS) ? kdeAreaCommand : QFile::exists(xfceSS) ? xfceAreaCommand : QString();
#elif defined Q_OS_WIN
return QStringLiteral("C:\\Program Files\\IrfanView\\i_view64.exe /capture=4 convert=%file");
return QStringLiteral("\"C:\\Program Files\\IrfanView\\i_view64.exe\" /capture=4 /convert=%file");
#elif defined Q_OS_MAC
return QStringLiteral("screencapture -s %file");
#endif
@ -157,7 +157,7 @@ QString AppConfig::defaultValue(const QString &key)
#ifdef Q_OS_LINUX
return QFile::exists(gnomeSS) ? gnomeWindowCommand : QFile::exists(kdeSS) ? kdeWindowCommand : QFile::exists(xfceSS) ? xfceWindowCommand : QString();
#elif defined Q_OS_WIN
return QStringLiteral("C:\\Program Files\\IrfanView\\i_view64.exe /capture=0 convert=%file");
return QStringLiteral("\"C:\\Program Files\\IrfanView\\i_view64.exe\" /capture=0 /convert=%file");
#elif defined Q_OS_MAC
return QStringLiteral("screencapture -w %file");
#endif