Updater: Comments
authorMarkus Goetz <markus@woboq.com>
Mon, 25 Jun 2018 10:29:28 +0000 (12:29 +0200)
committerCamila (Rebase PR Action) <hello@camila.codes>
Tue, 24 Nov 2020 18:22:33 +0000 (18:22 +0000)
src/gui/updater/ocupdater.h
src/gui/updater/updater.cpp

index 34c940732e5731f65a7a0266a1bebac8e7cd2082..e82bed07562d48378ce429a7779ec55ae7f035a6 100644 (file)
@@ -115,6 +115,7 @@ signals:
     void requestRestart();
 
 public slots:
+    // FIXME Maybe this should be in the NSISUpdater which should have been called WindowsUpdater
     void slotStartInstaller();
 
 protected slots:
index 9867db7f8bf5047d60a490d6a14174cc424022bc..07f65ee003ef020c7189c38746d4b07d54372200 100644 (file)
@@ -132,9 +132,10 @@ Updater *Updater::create()
 #if defined(Q_OS_MAC) && defined(HAVE_SPARKLE)
     return new SparkleUpdater(url);
 #elif defined(Q_OS_WIN32)
-    // the best we can do is notify about updates
+    // Also for MSI
     return new NSISUpdater(url);
 #else
+    // the best we can do is notify about updates
     return new PassiveUpdateNotifier(url);
 #endif
 }