Skip to content
Snippets Groups Projects
Unverified Commit 105366f2 authored by Adasauce's avatar Adasauce
Browse files

Clean up variable format

don't use members format camelCaseTail_
parent f86cbbe1
No related branches found
No related tags found
No related merge requests found
......@@ -435,12 +435,12 @@ UserSettingsPage::showEvent(QShowEvent *)
void
UserSettingsPage::resizeEvent(QResizeEvent *event)
{
auto preWidth_ = width();
auto preWidth = width();
if (preWidth_ * 0.5 > LayoutMinWidth)
sideMargin_ = preWidth_ * 0.25;
if (preWidth * 0.5 > LayoutMinWidth)
sideMargin_ = preWidth * 0.25;
else
sideMargin_ = static_cast<double>(preWidth_ - LayoutMinWidth) / 2.;
sideMargin_ = static_cast<double>(preWidth - LayoutMinWidth) / 2.;
if (sideMargin_ < 60)
sideMargin_ = 0;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment