Skip to content

Commit

Permalink
fix 3030 mac patch
Browse files Browse the repository at this point in the history
  • Loading branch information
wadealer committed Feb 24, 2012
1 parent 4bc96c5 commit bdb5f3a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions scripts/macosx/patches/3030-psi-mac-sparkle.diff
Expand Up @@ -85,12 +85,12 @@

+void MainWin::actCheckUpdateActivated()
+{
+ AutoUpdater* autoUpdater;
+#ifdef HAVE_SPARKLE
+ AutoUpdater* autoUpdater;
+ autoUpdater = new SparkleAutoUpdater(ApplicationInfo::getAppCastURL());
+#endif
+ autoUpdater->checkForUpdates();
+ delete autoUpdater;
+#endif
+}
+
void MainWin::actAboutPsiMediaActivated ()
Expand Down

0 comments on commit bdb5f3a

Please sign in to comment.