Skip to content

Commit

Permalink
main: fixed renamed var names
Browse files Browse the repository at this point in the history
- prepare_build
  • Loading branch information
SeeLook committed Feb 5, 2025
1 parent 33349c9 commit 3f045ff
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ int main(int argc, char *argv[])

auto f = a->font();
#if defined(Q_OS_ANDROID)
f.setPixelSize(nooObj->factor());
f.setPixelSize(nooQML->factor());
auto pal = qApp->palette();
pal.setColor(QPalette::Active, QPalette::Highlight, QColor(0, 160, 160)); // Teal color of highlight for Android
pal.setColor(QPalette::Active, QPalette::Shadow, QColor(120, 120, 120)); // Dark gray for shadow
Expand All @@ -157,7 +157,7 @@ int main(int argc, char *argv[])
pal.setColor(QPalette::Active, QPalette::Highlight, c.lighter(150));
qApp->setPalette(pal);
}
f.setPointSizeF(f.pointSizeF() * gl->guiScale());
f.setPointSizeF(f.pointSizeF() * glob->guiScale());
#else
f.setPointSizeF(f.pointSizeF() * glob->guiScale());
#endif
Expand Down Expand Up @@ -240,7 +240,7 @@ int main(int argc, char *argv[])
#if defined(Q_OS_ANDROID)
QString androidArg = Tandroid::getRunArgument();
if (!androidArg.isEmpty())
nooObj->openFile(androidArg);
nooQML->openFile(androidArg);
#else
if (argc > 1) {
QCommandLineParser cmd;
Expand Down

0 comments on commit 3f045ff

Please sign in to comment.