1
0
mirror of git://projects.qi-hardware.com/gmenu2x.git synced 2024-11-17 21:10:39 +02:00

remove redundant assignments

This commit is contained in:
Lars-Peter Clausen 2010-05-02 20:02:21 +02:00
parent 7fd1ab032a
commit d4490ba85c
12 changed files with 0 additions and 13 deletions

View File

@ -6,7 +6,6 @@ using namespace std;
using namespace fastdelegate;
IconButton::IconButton(GMenu2X *gmenu2x, const string &icon, const string &label) : Button(gmenu2x) {
this->gmenu2x = gmenu2x;
this->icon = icon;
labelPosition = IconButton::DISP_RIGHT;
labelMargin = 2;

View File

@ -32,7 +32,6 @@
using namespace std;
ImageDialog::ImageDialog(GMenu2X *gmenu2x, const string &text, const string &filter, const string &file) : FileDialog(gmenu2x, text, filter, file) {
this->gmenu2x = gmenu2x;
this->text = text;
this->filter = filter;
setPath("/card");

View File

@ -27,7 +27,6 @@ using namespace std;
using namespace fastdelegate;
Link::Link(GMenu2X *gmenu2x) : Button(gmenu2x, true) {
this->gmenu2x = gmenu2x;
action = MakeDelegate(this, &Link::run);
edited = false;
iconPath = gmenu2x->sc.getSkinFilePath("icons/generic.png");

View File

@ -32,7 +32,6 @@ using namespace std;
LinkApp::LinkApp(GMenu2X *gmenu2x, const char* linkfile)
: Link(gmenu2x) {
this->gmenu2x = gmenu2x;
manual = "";
file = linkfile;
wrapper = false;

View File

@ -26,7 +26,6 @@ using namespace fastdelegate;
MenuSettingBool::MenuSettingBool(GMenu2X *gmenu2x, const string &name, const string &description, int *value)
: MenuSetting(gmenu2x,name,description) {
this->gmenu2x = gmenu2x;
_ivalue = value;
_value = NULL;
originalValue = *value != 0;
@ -38,7 +37,6 @@ MenuSettingBool::MenuSettingBool(GMenu2X *gmenu2x, const string &name, const str
MenuSettingBool::MenuSettingBool(GMenu2X *gmenu2x, const string &name, const string &description, bool *value)
: MenuSetting(gmenu2x,name,description) {
this->gmenu2x = gmenu2x;
_value = value;
_ivalue = NULL;
originalValue = *value;

View File

@ -26,7 +26,6 @@ using namespace fastdelegate;
MenuSettingDir::MenuSettingDir(GMenu2X *gmenu2x, const string &name, const string &description, string *value)
: MenuSetting(gmenu2x,name,description) {
this->gmenu2x = gmenu2x;
_value = value;
originalValue = *value;

View File

@ -26,7 +26,6 @@ using namespace fastdelegate;
MenuSettingFile::MenuSettingFile(GMenu2X *gmenu2x, const string &name, const string &description, string *value, const string &filter)
: MenuSetting(gmenu2x,name,description) {
this->gmenu2x = gmenu2x;
this->filter = filter;
_value = value;
originalValue = *value;

View File

@ -25,7 +25,6 @@ using namespace std;
MenuSettingImage::MenuSettingImage(GMenu2X *gmenu2x, const string &name, const string &description, string *value, const string &filter)
: MenuSettingFile(gmenu2x,name,description,value,filter) {
this->gmenu2x = gmenu2x;
this->filter = filter;
_value = value;
originalValue = *value;

View File

@ -26,7 +26,6 @@ using namespace fastdelegate;
MenuSettingInt::MenuSettingInt(GMenu2X *gmenu2x, const string &name, const string &description, int *value, int min, int max)
: MenuSetting(gmenu2x,name,description) {
this->gmenu2x = gmenu2x;
_value = value;
originalValue = *value;
this->min = min;

View File

@ -25,7 +25,6 @@ using namespace fastdelegate;
MenuSettingMultiString::MenuSettingMultiString(GMenu2X *gmenu2x, const string &name, const string &description, string *value, vector<string> *choices)
: MenuSetting(gmenu2x,name,description) {
this->gmenu2x = gmenu2x;
this->choices = choices;
this->value = value;
originalValue = *value;

View File

@ -26,7 +26,6 @@ using namespace fastdelegate;
MenuSettingRGBA::MenuSettingRGBA(GMenu2X *gmenu2x, const string &name, const string &description, RGBAColor *value)
: MenuSetting(gmenu2x,name,description) {
selPart = 0;
this->gmenu2x = gmenu2x;
_value = value;
originalValue = *value;
this->setR(this->value().r);

View File

@ -26,7 +26,6 @@ using namespace fastdelegate;
MenuSettingString::MenuSettingString(GMenu2X *gmenu2x, const string &name, const string &description, string *value, const string &diagTitle, const string &diagIcon)
: MenuSetting(gmenu2x,name,description) {
this->gmenu2x = gmenu2x;
_value = value;
originalValue = *value;
this->diagTitle = diagTitle;