Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix Projects, Some restructuring of OptionsDialog #165

Merged
merged 4 commits into from
May 13, 2017
Merged

Fix Projects, Some restructuring of OptionsDialog #165

merged 4 commits into from
May 13, 2017

Conversation

thestr4ng3r
Copy link
Contributor

@thestr4ng3r thestr4ng3r commented May 13, 2017

I built upon the behaviour that Iaito saves projects for a file called _. When opening a file and a project matching the filename exists, it will be opened and the OptionsDialog will be skipped (resolves #152).

For this, I changed how OptionsDialog behaves. Instead of the OptionsDialog creating the MainWindow, one would create a MainWindow and call MainWindow::openFile(const QString &fn, int anal_level) on it, which then will take care of either opening a project or showing an OptionsDialog.

I also added a Settings class to prevent typos in the settings names.

Please note that projects will be corrupted with the radare2 1.4.0 from the submodule. One bug that breaks afC has already been fixed in radare2 git, another one that currently breaks notes in Iaito will be fixed by radareorg/radare2#7485.

@ballessay ballessay merged commit d2df03e into hteso:master May 13, 2017
@ballessay
Copy link
Contributor

Sorry for squashing your commits, but using the web editor to fix the conflict (and in so generating a merge commit) was an error on my side.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants