Skip to content

Commit 513cde3

Browse files
committed
Is the argument unused?
1 parent 432d0dc commit 513cde3

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

splash.qml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ ApplicationWindow {
7474
splashController.autoLaunchOrUpdate();
7575
}
7676

77-
function onUpdaterUpdate(version) {
77+
function onUpdaterUpdate() {
7878
downloader.startUpdaterUpdate();
7979
updaterUpdateLabel.visible = true;
8080

splashcontroller.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,7 @@ void SplashController::autoLaunchOrUpdate()
131131
qDebug() << "Updater update to" << url << "requested as relaunch action";
132132
}
133133
// It is assumed the process is already elevated
134-
emit updaterUpdate(updateUpdaterUrls_);
134+
emit updaterUpdate();
135135
}
136136
return;
137137

@@ -157,7 +157,7 @@ void SplashController::autoLaunchOrUpdate()
157157
}
158158
switch (Sys::RelaunchElevated(updaterArgs)) {
159159
case Sys::ElevationResult::UNNEEDED:
160-
emit updaterUpdate(latestUpdaterUrls_);
160+
emit updaterUpdate();
161161
return;
162162
case Sys::ElevationResult::RELAUNCHED:
163163
QCoreApplication::quit();

splashcontroller.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ class SplashController : public QObject
7575
signals:
7676
void updateNeeded(bool updateNeeded);
7777
void updaterUpdateNeeded();
78-
void updaterUpdate(QStringList updaterUrls);
78+
void updaterUpdate();
7979
void newsUrlFetched(QString newsUrl);
8080

8181
private slots:

0 commit comments

Comments
 (0)