Skip to content

Commit 327d836

Browse files
committed
Merge branch 'master' of github.com:trikset/trik-studio into junior
2 parents 955eb5c + 6a19846 commit 327d836

File tree

6 files changed

+13
-9
lines changed

6 files changed

+13
-9
lines changed

installer/packages/qreal-base/ru.qreal.root.associations/meta/installscript.qs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ Component.prototype.createOperations = function()
99
if (installer.value("os") === "win") {
1010
component.addOperation("RegisterFileType",
1111
"tsj",
12-
"@TargetDir@\\" + installer.executableName + " \"%1\"",
12+
"@TargetDir@\\" + installer.executableName + installer.execExtension + " \"%1\"",
1313
"@ProductName@ Project",
1414
"application/octet-stream");
1515
}

installer/packages/qreal-base/ru.qreal.root/meta/prebuild-win32.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@ cp $BIN_DIR/qrgui-tool-plugin-interface.dll $PWD/../data
2929
cp $BIN_DIR/qrgui-facade.dll $PWD/../data
3030
cp "$BIN_DIR/patcher.exe" "$PWD/../data"
3131
cp $BIN_DIR/trik-studio.exe $PWD/../data/$PRODUCT.exe
32+
cp $INSTALLER_ROOT/platform/$PRODUCT.cmd $PWD/../data/
3233
cp $BIN_DIR/plugins/tools/updatesChecker.dll $PWD/../data/plugins/tools/
3334
cp $BIN_DIR/plugins/tools/subprogramsImporterExporter.dll $PWD/../data/plugins/tools/
3435

installer/platform/trik-studio.cmd

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
1-
FOR /F "tokens=* USEBACKQ" %%F IN (`where java`) DO (SET JAVA_PATH=%%~dpF)
2-
3-
set PATH=%SystemRoot%;%SystemRoot%\system32;%JAVA_PATH%;
4-
%~dp0trik-studio.exe %*
1+
@echo off
2+
title TRIK Studio Safe Mode
3+
FOR /F "tokens=* USEBACKQ" %%F IN (`where java 2^>NUL`) DO (SET JAVA_PATH=%%~dpF)
4+
set PATH=%SystemRoot%;%SystemRoot%\system32;%JAVA_PATH%
5+
start "" %~dp0trik-studio.exe %*

qrgui/mainWindow/startWidget/startWidget.cpp

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -152,9 +152,11 @@ QWidget *StartWidget::createProjectsManagementWidget()
152152
}
153153

154154
mProjectsManagementLayout->addWidget(mOpenProjectButton);
155-
mProjectsManagementLayout->addWidget(mNewProjectButton);
155+
if (mNewProjectButton) {
156+
mProjectsManagementLayout->addWidget(mNewProjectButton);
157+
}
156158

157-
QWidget * const result = new QWidget;
159+
QWidget * const result = new QWidget();
158160
result->setLayout(mProjectsManagementLayout);
159161
return result;
160162
}

qrtranslations/fr/qrgui_mainWindow_fr.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1006,7 +1006,7 @@ WARNING: The settings will be restored after application restart</source>
10061006
<translation type="unfinished">Ouvrir un projet</translation>
10071007
</message>
10081008
<message>
1009-
<location line="+56"/>
1009+
<location line="+58"/>
10101010
<source>Recent projects</source>
10111011
<translation>Projets récents</translation>
10121012
</message>

qrtranslations/ru/qrgui_mainWindow_ru.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1116,7 +1116,7 @@ WARNING: The settings will be restored after application restart</source>
11161116
<translation>Открыть проект</translation>
11171117
</message>
11181118
<message>
1119-
<location line="+56"/>
1119+
<location line="+58"/>
11201120
<source>Recent projects</source>
11211121
<translation>Недавние проекты</translation>
11221122
</message>

0 commit comments

Comments
 (0)