Repository navigation
Conversation
|
I didn't test, but the debug / rpc console has somehow the same code basis. I assume this PR will no longer store the position of the debug window as well? |
|
conceptional ACK on not storing the about window geometries. |
|
@jonasschnelli I believe that does include the debug window as it currently is. If it's a big deal to remove the functionality for the debug window, would there be any issue with splitting help message (i.e. the debug window) and about messages in to two classes? I see only six references (not including translation files) to HelpMessageDialog. |
|
Why? And also it's not sufficient to just remove the restoration code but also the save code... |
There was a problem hiding this comment.
Why did you remove this line? This will not work.
|
At the destructor |
|
NAK on discarding debug window size/location. Indifferent regarding the about window (will this also affect the command line options window?), but the debug window is one which can actually be useful and which a user might reasonably want to have in a fixed location and not have to reposition it each time. |
|
@Michagogo no no. Not storing other windows geometry would be stupid. But the about window really don't need stored window geometries. The about window looks better without storing geometries and more like the "About Qt" window. |
|
@jonasschnelli That commit sounds good, yeah. That's not what this PR is right now, though. |
|
Concept ACK - but please adapt your commit message to make it clear that only the HelpMessage/About dialog is affected and not every window. That kind of confused me and I see I'm not the only one. |
|
Sorry for the delay in replying, @Diapolo It was unclear in my original title but this PR is targeted specifically at the about window. The reasoning behind it was that the functionality of restoring the window size and position when reopening is unecessary so I, foolishly in retrospect, thought it would be a good way to dip my feet into both contributing to the project and getting back into C++. @jonasschnelli Removing that extra line was a mistake, I'll make sure to re-add it @laanwj Thanks, I renamed the PR and I'll use a better summary for the next commit Everyone, I'll try to get a new commit up soon on this, I'm a little bit out of my depth both in terms of the specific code and the programming, some of which is stuff that I learned and I am having to pretty much relearn/remember or never learned and am having to teach myself on, so please bear with me. |
|
Oops. Something went wrong here, github reports a lot of added commits which were already merged. Try to use rebase (e.g. git pull --rebase) instead of merge when you want to forward-port a pull request, so we can maintain a linear-ish history, as parallel merge commits make it hard to review. |
|
See the above link, I somehow screwed something up and in the aftermath the system automatically closed this PR. Rather than email GitHub and ask for them to look into it, I figured it would be more expedient and almost as easy to create a new one. |
Removes the unecessary function to restore the about window size and
location for the about window when reopening the window.
Currently the window size and location is restored even after
application restart.