Changed: Minor changes
This commit is contained in:
parent
56697a355b
commit
852a5ee1a9
2 changed files with 5 additions and 0 deletions
|
@ -60,6 +60,8 @@ int main(int argc, char *argv[])
|
||||||
QApplication::setApplicationVersion(RYZOM_VERSION);
|
QApplication::setApplicationVersion(RYZOM_VERSION);
|
||||||
QApplication::setWindowIcon(QIcon(":/icons/ryzom.ico"));
|
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();
|
QLocale locale = QLocale::system();
|
||||||
|
|
||||||
// load application translations
|
// load application translations
|
||||||
|
|
|
@ -18,6 +18,7 @@
|
||||||
#include "profilesdialog.h"
|
#include "profilesdialog.h"
|
||||||
#include "profilesmodel.h"
|
#include "profilesmodel.h"
|
||||||
#include "serversmodel.h"
|
#include "serversmodel.h"
|
||||||
|
#include "operationdialog.h"
|
||||||
|
|
||||||
#ifdef DEBUG_NEW
|
#ifdef DEBUG_NEW
|
||||||
#define new DEBUG_NEW
|
#define new DEBUG_NEW
|
||||||
|
@ -133,6 +134,8 @@ void CProfilesDialog::deleteProfile(int index)
|
||||||
if (index < 0) return;
|
if (index < 0) return;
|
||||||
|
|
||||||
m_model->removeRow(index);
|
m_model->removeRow(index);
|
||||||
|
|
||||||
|
COperationDialog dialog;
|
||||||
}
|
}
|
||||||
|
|
||||||
void CProfilesDialog::addProfile()
|
void CProfilesDialog::addProfile()
|
||||||
|
|
Loading…
Reference in a new issue