Changed: Minor changes

--HG--
branch : feature-ryzom-installer
This commit is contained in:
kervala 2016-03-12 21:56:23 +01:00
parent 4a50cf1d3a
commit 733969f148
4 changed files with 19 additions and 1 deletions

View file

@ -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

View file

@ -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)

View file

@ -3,6 +3,12 @@
#include "configfile.h"
/**
* Profiles model
*
* \author Cedric 'Kervala' OCHS
* \date 2016
*/
class CProfilesModel : public QAbstractListModel
{
public:

View file

@ -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