[Backend] change update function name.
This commit is contained in:
parent
d9923f1400
commit
e0107ac4a7
|
@ -471,7 +471,7 @@ MpvPlayerBackend::updateDurationString()
|
||||||
void
|
void
|
||||||
MpvPlayerBackend::updateAppImage()
|
MpvPlayerBackend::updateAppImage()
|
||||||
{
|
{
|
||||||
update();
|
updateAppImageLinux();
|
||||||
}
|
}
|
||||||
|
|
||||||
void
|
void
|
||||||
|
|
|
@ -93,7 +93,7 @@ main(int argc, char* argv[])
|
||||||
app.setApplicationName("KittehPlayer");
|
app.setApplicationName("KittehPlayer");
|
||||||
for (int i = 1; i < argc; ++i) {
|
for (int i = 1; i < argc; ++i) {
|
||||||
if (!qstrcmp(argv[i], "--update")) {
|
if (!qstrcmp(argv[i], "--update")) {
|
||||||
update();
|
updateAppImageLinux();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -15,7 +15,7 @@ getPlatformName()
|
||||||
return qapp->platformName();
|
return qapp->platformName();
|
||||||
}
|
}
|
||||||
void
|
void
|
||||||
update()
|
updateAppImageLinux()
|
||||||
{
|
{
|
||||||
QString program =
|
QString program =
|
||||||
QProcessEnvironment::systemEnvironment().value("APPDIR", "") +
|
QProcessEnvironment::systemEnvironment().value("APPDIR", "") +
|
||||||
|
|
|
@ -8,6 +8,6 @@ SetDPMS(bool on);
|
||||||
void
|
void
|
||||||
AlwaysOnTop(WId wid, bool on);
|
AlwaysOnTop(WId wid, bool on);
|
||||||
void
|
void
|
||||||
update();
|
updateAppImageLinux();
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Reference in a new issue