Changed: Minor changes
--HG-- branch : develop
This commit is contained in:
parent
1c03b41fab
commit
1588b43998
2 changed files with 5 additions and 0 deletions
|
@ -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
|
||||
|
|
|
@ -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()
|
||||
|
|
Loading…
Reference in a new issue