From 852a5ee1a9023f50e2676e815618eef7f9a59ba5 Mon Sep 17 00:00:00 2001 From: kervala Date: Tue, 7 Jun 2016 13:25:03 +0200 Subject: [PATCH] Changed: Minor changes --- code/ryzom/tools/client/ryzom_installer/src/main.cpp | 2 ++ code/ryzom/tools/client/ryzom_installer/src/profilesdialog.cpp | 3 +++ 2 files changed, 5 insertions(+) diff --git a/code/ryzom/tools/client/ryzom_installer/src/main.cpp b/code/ryzom/tools/client/ryzom_installer/src/main.cpp index 55388fa7e..53bdd623d 100644 --- a/code/ryzom/tools/client/ryzom_installer/src/main.cpp +++ b/code/ryzom/tools/client/ryzom_installer/src/main.cpp @@ -60,6 +60,8 @@ int main(int argc, char *argv[]) QApplication::setApplicationVersion(RYZOM_VERSION); QApplication::setWindowIcon(QIcon(":/icons/ryzom.ico")); + // TODO: if not launched from TEMP dir, copy files to TEMP, restart it and exit + QLocale locale = QLocale::system(); // load application translations diff --git a/code/ryzom/tools/client/ryzom_installer/src/profilesdialog.cpp b/code/ryzom/tools/client/ryzom_installer/src/profilesdialog.cpp index 04937c485..d113ab2c2 100644 --- a/code/ryzom/tools/client/ryzom_installer/src/profilesdialog.cpp +++ b/code/ryzom/tools/client/ryzom_installer/src/profilesdialog.cpp @@ -18,6 +18,7 @@ #include "profilesdialog.h" #include "profilesmodel.h" #include "serversmodel.h" +#include "operationdialog.h" #ifdef DEBUG_NEW #define new DEBUG_NEW @@ -133,6 +134,8 @@ void CProfilesDialog::deleteProfile(int index) if (index < 0) return; m_model->removeRow(index); + + COperationDialog dialog; } void CProfilesDialog::addProfile()