diff options
author | Fedja Beader <fedja@protonmail.ch> | 2024-04-07 21:14:51 +0200 |
---|---|---|
committer | Fedja Beader <fedja@protonmail.ch> | 2024-04-09 19:06:29 +0000 |
commit | b5ff7aa3a5adf5e03ea1e1190b720158fc4a97a8 (patch) | |
tree | d7783e8d9daf31e02960f266eeb1b0a61f842fe9 /src/gui/windows | |
parent | cbab9d6d4c3a38ece9bd97ac866b28c4d83ecc1a (diff) | |
download | plus-b5ff7aa3a5adf5e03ea1e1190b720158fc4a97a8.tar.gz plus-b5ff7aa3a5adf5e03ea1e1190b720158fc4a97a8.tar.bz2 plus-b5ff7aa3a5adf5e03ea1e1190b720158fc4a97a8.tar.xz plus-b5ff7aa3a5adf5e03ea1e1190b720158fc4a97a8.zip |
Fix all alignment warnings/errors.
Other addButton sections intentionally left misaligned as a test for future fix in nsiqcppstyle.
.. why does it not complain about every such block?
Diffstat (limited to 'src/gui/windows')
-rw-r--r-- | src/gui/windows/buydialog.cpp | 3 | ||||
-rw-r--r-- | src/gui/windows/quitdialog.cpp | 2 |
2 files changed, 3 insertions, 2 deletions
diff --git a/src/gui/windows/buydialog.cpp b/src/gui/windows/buydialog.cpp index c1d6ba958..b17064e45 100644 --- a/src/gui/windows/buydialog.cpp +++ b/src/gui/windows/buydialog.cpp @@ -510,7 +510,8 @@ void BuyDialog::sort() std::sort(items.begin(), items.end(), itemWeightBuySorter); break; case 5: - std::sort(items.begin(), items.end(), itemWeightTimesAmountBuySorter); + std::sort(items.begin(), items.end(), + itemWeightTimesAmountBuySorter); break; case 6: std::sort(items.begin(), items.end(), itemAmountBuySorter); diff --git a/src/gui/windows/quitdialog.cpp b/src/gui/windows/quitdialog.cpp index 66d330af9..d1ceb1ad9 100644 --- a/src/gui/windows/quitdialog.cpp +++ b/src/gui/windows/quitdialog.cpp @@ -90,7 +90,7 @@ QuitDialog::QuitDialog(QuitDialog **const pointerToMe) : { // Only added if we are connected to an accountserver or gameserver placeOption(placer, mLogoutQuit); - if(!settings.options.uniqueSession) + if (!settings.options.uniqueSession) { // Only shown if we are not in a uniqueSession placeOption(placer, mSwitchAccountServer); |