mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-05-17 13:30:36 -04:00
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:
parent
2f8d21ab76
commit
0c46da0dd2
52 changed files with 310 additions and 428 deletions
|
@ -23,7 +23,6 @@
|
|||
#ifndef _STARTDIALOG_H
|
||||
#define _STARTDIALOG_H
|
||||
|
||||
#include "settings/rsharesettings.h"
|
||||
#include "rsiface/rsiface.h"
|
||||
/********
|
||||
#if (QT_VERSION >= 040300)
|
||||
|
@ -42,8 +41,6 @@ class StartDialog : public QMainWindow
|
|||
public:
|
||||
/** Default constructor */
|
||||
StartDialog(QWidget *parent = 0, Qt::WFlags flags = 0);
|
||||
/** Default destructor */
|
||||
//~StartDialog();
|
||||
|
||||
bool requestedNewCert();
|
||||
|
||||
|
@ -74,10 +71,6 @@ private:
|
|||
/** Loads the saved connectidialog settings */
|
||||
// void loadSettings();
|
||||
void loadCertificates();
|
||||
|
||||
|
||||
/** A VidaliaSettings object that handles getting/saving settings */
|
||||
RshareSettings* _settings;
|
||||
|
||||
LogoBar * _rsLogoBar;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue