Commit Graph

3 Commits

Author SHA1 Message Date
Konstantin Pastbin
bfffa1fff4 Format all C++ and Java code via clang-format
Signed-off-by: Konstantin Pastbin <konstantin.pastbin@gmail.com>
2025-08-17 14:32:37 +07:00
rayzex_gt
57fefda452 Fix "About" dialog window flags on desktop. (#10586)
* Update about.cpp

On desktop, on Linux, when I open the "About" dialog, I can:
1: Minimize the app by pressing "minimize" button in the dialog;
2: Maximisze the dialog;
3: Close the dialog.

When building the app on Windows, I can do neither of those things.

I suggest setting those Window flags explicitly to achieve same behaviour across platforms.

Signed-off-by: rayzex_gt <62294693+gezawatt@users.noreply.github.com>

* Only adding an essential fix.

Only adding an essential button to the window (the "X" close button) to avoid soft-locking the user on Windows when opening the dialog.

Signed-off-by: rayzex_gt <62294693+gezawatt@users.noreply.github.com>

* Added an explicit "Maximize window" and "Close window" flags.

Signed-off-by: rayzex_gt <62294693+gezawatt@users.noreply.github.com>

* Added ajustSize(); at the end of "About" window constructor.

Added an "ajustSize();" method call at the end of the "About" window constructor.

Now height() and width() methods show correct window size.

Now it also would be possible to call setFixedSize() if needed.

Signed-off-by: rayzex_gt <62294693+gezawatt@users.noreply.github.com>

---------

Signed-off-by: rayzex_gt <62294693+gezawatt@users.noreply.github.com>
2025-05-29 09:49:07 +02:00
Konstantin Pastbin
e3e4a1985a Organic Maps sources as of 02.04.2025 (fad26bbf22ac3da75e01e62aa01e5c8e11861005)
To expand with full Organic Maps and Maps.ME commits history run:
  git remote add om-historic [om-historic.git repo url]
  git fetch --tags om-historic
  git replace squashed-history historic-commits
2025-05-08 21:10:51 +07:00