mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-05-12 19:12:28 -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
|
@ -26,7 +26,6 @@
|
|||
#include "mainpage.h"
|
||||
#include "ui_MessengerWindow.h"
|
||||
|
||||
#include <gui/settings/rsharesettings.h>
|
||||
#include <gui/common/rwindow.h>
|
||||
#include "chat/PopupChatDialog.h"
|
||||
#include "RsAutoUpdatePage.h"
|
||||
|
@ -66,7 +65,6 @@ protected:
|
|||
void closeEvent (QCloseEvent * event);
|
||||
/** Default Constructor */
|
||||
MessengerWindow(QWidget *parent = 0, Qt::WFlags flags = 0);
|
||||
/** Default Destructor */
|
||||
|
||||
|
||||
private slots:
|
||||
|
@ -151,9 +149,6 @@ private:
|
|||
|
||||
QFont itemFont;
|
||||
|
||||
/** A RshareSettings object used for saving/loading settings */
|
||||
RshareSettings* _settings;
|
||||
|
||||
/** Qt Designer generated object */
|
||||
Ui::MessengerWindow ui;
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue