QTfrontend/SparkleAutoUpdater.h
author Zorg <zorgiepoo@gmail.com>
Wed, 08 Jun 2011 23:25:05 -0400
changeset 5230 c088be28d5e8
parent 2948 3f21a9dc93d0
child 7933 223b3a195474
permissions -rw-r--r--
Set m_game_connected to false after emitting Disconnected(). This fixes a bug in a case such that when entering an invalid password, the game would bring you back to the main menu.

/*
 * Copyright (C) 2008 Remko Troncon
 */

#ifndef SPARKLEAUTOUPDATER_H
#define SPARKLEAUTOUPDATER_H

#include <QString>

#include "AutoUpdater.h"

class SparkleAutoUpdater : public AutoUpdater
{
    public:
        SparkleAutoUpdater(const QString& url);
        ~SparkleAutoUpdater();

        void checkForUpdates();

    private:
        class Private;
        Private* d;
};

#endif