Changed settings to local variable, no more as pointer on all classes.

RshareSettings settings;
settings.value(...);

It should lower memory usage and removes memory leaks.

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@2886 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
thunder2 2010-05-11 20:02:52 +00:00
parent 2f8d21ab76
commit 0c46da0dd2
52 changed files with 310 additions and 428 deletions

View file

@ -26,8 +26,6 @@
#include <QFileDialog>
#include <QtGui>
#include "settings/rsharesettings.h"
#include "mainpage.h"
#include "ui_NetworkDialog.h"
#include "RsAutoUpdatePage.h"
@ -42,7 +40,6 @@ class NetworkDialog : public RsAutoUpdatePage
public:
/** Default Constructor */
NetworkDialog(QWidget *parent = 0);
/** Default Destructor */
//void load();
virtual void updateDisplay() ; // overloaded from RsAutoUpdatePage
@ -95,9 +92,6 @@ private slots:
private:
/** A RetroShare Settings object used for saving/loading settings */
RshareSettings *_settings;
QTreeWidgetItem *getCurrentNeighbour();
/** Define the popup menus for the Context menu */