mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-06-06 21:58:57 -04:00
changes to speedup settings dialog
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@1562 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
parent
fbf0939cea
commit
c0523dabbd
4 changed files with 13 additions and 50 deletions
|
@ -47,14 +47,6 @@ RSettingsWin::RSettingsWin(QWidget * parent, Qt::WFlags flags)
|
|||
connect(okButton, SIGNAL(clicked( bool )), this, SLOT( saveChanges()) );
|
||||
}
|
||||
|
||||
void
|
||||
RSettingsWin::showWindow(int page)
|
||||
{
|
||||
loadSettings();
|
||||
setNewPage(page);
|
||||
QDialog::show();
|
||||
}
|
||||
|
||||
void
|
||||
RSettingsWin::closeEvent (QCloseEvent * event)
|
||||
{
|
||||
|
@ -123,6 +115,7 @@ RSettingsWin::setNewPage(int page)
|
|||
}
|
||||
|
||||
pageName->setText(text);
|
||||
loadSettings(); /* load saved settings */
|
||||
stackedWidget->setCurrentIndex(page);
|
||||
listWidget->setCurrentRow(page);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue