From 0bdaa773a4ee5a678c400a1b097190e3856ee5a6 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Wed, 3 Jun 2015 17:23:55 +0300 Subject: Convert UpdateType enum into strong typed enum. --- src/gui/windows/updaterwindow.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/gui/windows/updaterwindow.cpp') diff --git a/src/gui/windows/updaterwindow.cpp b/src/gui/windows/updaterwindow.cpp index b8ead9549..ae63d194a 100644 --- a/src/gui/windows/updaterwindow.cpp +++ b/src/gui/windows/updaterwindow.cpp @@ -42,6 +42,7 @@ #include "gui/widgets/scrollarea.h" #include "net/download.h" +#include "net/updatetypeoperators.h" #include "resources/resourcemanager.h" @@ -168,7 +169,7 @@ static std::vector loadTxtFile(const std::string &fileName) UpdaterWindow::UpdaterWindow(const std::string &restrict updateHost, const std::string &restrict updatesDir, const bool applyUpdates, - const int updateType) : + const UpdateTypeT updateType) : // TRANSLATORS: updater window name Window(_("Updating..."), Modal_false, nullptr, "update.xml"), ActionListener(), -- cgit v1.2.3-70-g09d2