"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "src/main.cpp" between
texstudio-3.1.0.tar.gz and texstudio-3.1.1.tar.gz

About: TeXstudio is an integrated environment for writing LaTeX documents (as easy and comfortable as possible).

main.cpp  (texstudio-3.1.0):main.cpp  (texstudio-3.1.1)
skipping to change at line 190 skipping to change at line 190
return true; return true;
} }
return false; return false;
} }
int main(int argc, char **argv) int main(int argc, char **argv)
{ {
QString appId = generateAppId(); QString appId = generateAppId();
#if QT_VERSION >= QT_VERSION_CHECK(5,6,0) #if QT_VERSION >= QT_VERSION_CHECK(5,6,0)
#ifdef Q_OS_WIN if(qEnvironmentVariableIntValue("TEXSTUDIO_HIDPI_SCALE")>0){
QApplication::setAttribute(Qt::AA_EnableHighDpiScaling); QApplication::setAttribute(Qt::AA_EnableHighDpiScaling);
#else } else {
QApplication::setAttribute(Qt::AA_DisableHighDpiScaling); QApplication::setAttribute(Qt::AA_DisableHighDpiScaling);
#endif }
#endif #endif
// This is a dummy constructor so that the programs loads fast. // This is a dummy constructor so that the programs loads fast.
TexstudioApp a(appId, argc, argv); TexstudioApp a(appId, argc, argv);
bool startAlways = false; bool startAlways = false;
QStringList cmdLine = parseArguments(QCoreApplication::arguments(), start Always); QStringList cmdLine = parseArguments(QCoreApplication::arguments(), start Always);
if (handleCommandLineOnly(cmdLine)) { if (handleCommandLineOnly(cmdLine)) {
return 0; return 0;
} }
 End of changes. 1 change blocks. 
5 lines changed or deleted 5 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)