Solved Problem running lupdate
-
--- (lupdate) file: D:\Users\amonra\Documents\GitHub\DSS\DeepSkyStacker\i18n\DSS_zh.ts
--- D:/Users/amonra/Documents/GitHub/DSS/DeepSkyStacker/DeepSkyStacker.cpp:77: Excess closing parenthesis in C++ code (or abuse of the C++ preprocessor)
--- D:/Users/amonra/Documents/GitHub/DSS/DeepSkyStacker/DeepSkyStacker.cpp:118: Excess closing brace in C++ code (or abuse of the C++ preprocessor)
--- (lupdate) file: "i18n\DSS_zh.ts" : Exit Code: 0There's nothing unusual there
bool CheckVersion(CString & strVersion) { ZFUNCTRACE_RUNTIME(); bool bResult = false; #ifndef DSSBETA QSettings settings; CStdioFile *remotefile = nullptr; bool checkVersion = settings.value("InternetCheck"), false).toBool(); : Omitted }; delete remotefile; #endif return bResult; }
as you can see, so why is lupdate complaining please?
David
-
@Perdrix said in Problem running lupdate:
bool checkVersion = settings.value("InternetCheck"), false).toBool();
if that's the actual code (no typos) I can see an extra ")" (like lupdate does, I guess)
-
@Perdrix said in Problem running lupdate:
bool checkVersion = settings.value("InternetCheck"), false).toBool();
if that's the actual code (no typos) I can see an extra ")" (like lupdate does, I guess)
-
BLUSH as that code was ifndef-ed away I'd never spotted that !!
-
@Perdrix if that solves your issue please don't forget to mark your post as solved!