Adjust size of New wizard

This commit is contained in:
Gary Talent 2017-04-21 06:04:42 -05:00
parent 51124966c3
commit 0231d48c91
2 changed files with 6 additions and 3 deletions

View File

@ -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 \

View File

@ -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();
if (QDir(projectPath).exists()) {
auto path = projectPath + "/" + projectName;
Project(path).create();
}
}
);
wizard.resize(width() / 3, height() / 3);
wizard.show();
wizard.exec();
}