1
0
Fork 0

[Backend] change update function name.

This commit is contained in:
NamedKitten 2018-11-18 13:23:04 +00:00
parent d9923f1400
commit e0107ac4a7
4 changed files with 4 additions and 4 deletions

View file

@ -471,7 +471,7 @@ MpvPlayerBackend::updateDurationString()
void
MpvPlayerBackend::updateAppImage()
{
update();
updateAppImageLinux();
}
void

View file

@ -93,7 +93,7 @@ main(int argc, char* argv[])
app.setApplicationName("KittehPlayer");
for (int i = 1; i < argc; ++i) {
if (!qstrcmp(argv[i], "--update")) {
update();
updateAppImageLinux();
}
}

View file

@ -15,7 +15,7 @@ getPlatformName()
return qapp->platformName();
}
void
update()
updateAppImageLinux()
{
QString program =
QProcessEnvironment::systemEnvironment().value("APPDIR", "") +

View file

@ -8,6 +8,6 @@ SetDPMS(bool on);
void
AlwaysOnTop(WId wid, bool on);
void
update();
updateAppImageLinux();
#endif