[Backend] change update function name.
This commit is contained in:
parent
d9923f1400
commit
e0107ac4a7
|
@ -471,7 +471,7 @@ MpvPlayerBackend::updateDurationString()
|
|||
void
|
||||
MpvPlayerBackend::updateAppImage()
|
||||
{
|
||||
update();
|
||||
updateAppImageLinux();
|
||||
}
|
||||
|
||||
void
|
||||
|
|
|
@ -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();
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -15,7 +15,7 @@ getPlatformName()
|
|||
return qapp->platformName();
|
||||
}
|
||||
void
|
||||
update()
|
||||
updateAppImageLinux()
|
||||
{
|
||||
QString program =
|
||||
QProcessEnvironment::systemEnvironment().value("APPDIR", "") +
|
||||
|
|
|
@ -8,6 +8,6 @@ SetDPMS(bool on);
|
|||
void
|
||||
AlwaysOnTop(WId wid, bool on);
|
||||
void
|
||||
update();
|
||||
updateAppImageLinux();
|
||||
|
||||
#endif
|
||||
|
|
Loading…
Reference in a new issue