From 4998cf6d2e08da5f3291a4f68e227bbb87fc8041 Mon Sep 17 00:00:00 2001 From: kervala Date: Sat, 12 Mar 2016 21:56:23 +0100 Subject: [PATCH] Changed: Minor changes --- .../ryzom/tools/client/ryzom_installer/src/profilesdialog.h | 6 ++++++ .../tools/client/ryzom_installer/src/profilesmodel.cpp | 2 +- code/ryzom/tools/client/ryzom_installer/src/profilesmodel.h | 6 ++++++ .../ryzom/tools/client/ryzom_installer/src/settingsdialog.h | 6 ++++++ 4 files changed, 19 insertions(+), 1 deletion(-) diff --git a/code/ryzom/tools/client/ryzom_installer/src/profilesdialog.h b/code/ryzom/tools/client/ryzom_installer/src/profilesdialog.h index ff73d88b9..d4425d062 100644 --- a/code/ryzom/tools/client/ryzom_installer/src/profilesdialog.h +++ b/code/ryzom/tools/client/ryzom_installer/src/profilesdialog.h @@ -21,6 +21,12 @@ class CProfilesModel; +/** + * Dialog displayed when editing existing profiles. + * + * \author Cedric 'Kervala' OCHS + * \date 2016 + */ class CProfilesDialog : public QDialog, public Ui::ProfilesDialog { Q_OBJECT diff --git a/code/ryzom/tools/client/ryzom_installer/src/profilesmodel.cpp b/code/ryzom/tools/client/ryzom_installer/src/profilesmodel.cpp index c64c9fb0f..13c9e00da 100644 --- a/code/ryzom/tools/client/ryzom_installer/src/profilesmodel.cpp +++ b/code/ryzom/tools/client/ryzom_installer/src/profilesmodel.cpp @@ -24,7 +24,7 @@ QVariant CProfilesModel::data(const QModelIndex &index, int role) const const CProfile &profile = m_profiles.at(index.row()); - return QString("%1 (%2)").arg(profile.name).arg(profile.id); + return QString("%1 (#%2)").arg(profile.name).arg(profile.id); } bool CProfilesModel::removeRows(int row, int count, const QModelIndex &parent) diff --git a/code/ryzom/tools/client/ryzom_installer/src/profilesmodel.h b/code/ryzom/tools/client/ryzom_installer/src/profilesmodel.h index 78d0e61bf..283be0c24 100644 --- a/code/ryzom/tools/client/ryzom_installer/src/profilesmodel.h +++ b/code/ryzom/tools/client/ryzom_installer/src/profilesmodel.h @@ -3,6 +3,12 @@ #include "configfile.h" +/** + * Profiles model + * + * \author Cedric 'Kervala' OCHS + * \date 2016 + */ class CProfilesModel : public QAbstractListModel { public: diff --git a/code/ryzom/tools/client/ryzom_installer/src/settingsdialog.h b/code/ryzom/tools/client/ryzom_installer/src/settingsdialog.h index 1dd33f88f..f8e3144f7 100644 --- a/code/ryzom/tools/client/ryzom_installer/src/settingsdialog.h +++ b/code/ryzom/tools/client/ryzom_installer/src/settingsdialog.h @@ -19,6 +19,12 @@ #include "ui_settings.h" +/** + * Settings dialog + * + * \author Cedric 'Kervala' OCHS + * \date 2016 + */ class CSettingsDialog : public QDialog, public Ui::SettingsDialog { Q_OBJECT