Adjust size of New wizard
This commit is contained in:
parent
51124966c3
commit
0231d48c91
@ -8,7 +8,7 @@ RUN dnf install -y qt5-devel llvm libasan
|
||||
###############################################################################
|
||||
# Install Ox
|
||||
|
||||
RUN git clone -b e976fd3fe62c98be29c4389ba6700a4a1fb8e0ae https://github.com/wombatant/ox.git /usr/local/src/ox && \
|
||||
RUN git clone -b release-0.2 https://github.com/wombatant/ox.git /usr/local/src/ox && \
|
||||
cd /usr/local/src/ox && \
|
||||
# setup build dirs
|
||||
mkdir -p \
|
||||
|
@ -102,10 +102,13 @@ void MainWindow::showNewWizard() {
|
||||
wizard.setAccept([&wizard, PROJECT_NAME, PROJECT_PATH]() {
|
||||
auto projectName = wizard.field(PROJECT_NAME).toString();
|
||||
auto projectPath = wizard.field(PROJECT_PATH).toString();
|
||||
auto path = projectPath + "/" + projectName;
|
||||
Project(path).create();
|
||||
if (QDir(projectPath).exists()) {
|
||||
auto path = projectPath + "/" + projectName;
|
||||
Project(path).create();
|
||||
}
|
||||
}
|
||||
);
|
||||
wizard.resize(width() / 3, height() / 3);
|
||||
wizard.show();
|
||||
wizard.exec();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user