mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-05-04 23:25:32 -04:00
-added new Preferences Dialog for Appearance
-moved some Settings from General to Appearance ( Language, Style, stylesheet -added checkbox for Start RetroShare with System start in GeneralDialog -moved Rsharesettings to Preferences folder to find bether -added new RSettings source -clean uped some old code stuff in MainWindow which is not more needed -replaced in MainWindow PreferencesWindows open function with new one. git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@684 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
parent
4e43cb2f09
commit
c84f34e916
28 changed files with 1779 additions and 490 deletions
|
@ -97,16 +97,14 @@ RWindow::restoreWindowState()
|
|||
QVariant
|
||||
RWindow::getSetting(QString setting, QVariant defaultValue)
|
||||
{
|
||||
QString key = _name + "/" + setting;
|
||||
return _settings->value(key, defaultValue);
|
||||
return _settings->value(setting, defaultValue);
|
||||
}
|
||||
|
||||
/** Saves a value associated with a property name for this window object. */
|
||||
void
|
||||
RWindow::saveSetting(QString prop, QVariant value)
|
||||
{
|
||||
QString key = _name + "/" + prop;
|
||||
_settings->setValue(key, value);
|
||||
_settings->setValue(prop, value);
|
||||
}
|
||||
|
||||
/** Overloaded QWidget::setVisible(). If this window is already visible and
|
||||
|
|
|
@ -28,7 +28,7 @@
|
|||
#include <QWidget>
|
||||
#include <QVariant>
|
||||
#include <QMainWindow>
|
||||
#include <config/rsharesettings.h>
|
||||
#include <gui/Preferences/rsharesettings.h>
|
||||
|
||||
|
||||
class RWindow : public QMainWindow
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue