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 void
MpvPlayerBackend::updateAppImage() MpvPlayerBackend::updateAppImage()
{ {
update(); updateAppImageLinux();
} }
void void

View file

@ -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();
} }
} }

View file

@ -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", "") +

View file

@ -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