mirror of
https://github.com/etlegacy/Update-Installer.git
synced 2025-02-17 00:41:11 +00:00
Remove unused UpdateDialogGtk::restartApp() accessor
This commit is contained in:
parent
af41002e2e
commit
63f2480b90
2 changed files with 1 additions and 12 deletions
|
@ -7,16 +7,10 @@
|
|||
#include <gtk/gtk.h>
|
||||
|
||||
UpdateDialogGtk::UpdateDialogGtk()
|
||||
: m_restartApp(false)
|
||||
, m_hadError(false)
|
||||
: m_hadError(false)
|
||||
{
|
||||
}
|
||||
|
||||
bool UpdateDialogGtk::restartApp() const
|
||||
{
|
||||
return m_restartApp;
|
||||
}
|
||||
|
||||
void UpdateDialogGtk::init(int argc, char** argv)
|
||||
{
|
||||
gtk_init(&argc,&argv);
|
||||
|
@ -67,8 +61,6 @@ void UpdateDialogGtk::exec()
|
|||
|
||||
void UpdateDialogGtk::finish(GtkWidget* widget, gpointer _dialog)
|
||||
{
|
||||
UpdateDialogGtk* dialog = static_cast<UpdateDialogGtk*>(_dialog);
|
||||
dialog->m_restartApp = true;
|
||||
gtk_main_quit();
|
||||
}
|
||||
|
||||
|
|
|
@ -10,8 +10,6 @@ class UpdateDialogGtk : public UpdateObserver
|
|||
public:
|
||||
UpdateDialogGtk();
|
||||
|
||||
bool restartApp() const;
|
||||
|
||||
void init(int argc, char** argv);
|
||||
void exec();
|
||||
|
||||
|
@ -30,7 +28,6 @@ class UpdateDialogGtk : public UpdateObserver
|
|||
GtkWidget* m_progressLabel;
|
||||
GtkWidget* m_finishButton;
|
||||
GtkWidget* m_progressBar;
|
||||
bool m_restartApp;
|
||||
bool m_hadError;
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in a new issue