changed from pointer to referens in slitmenu constructor
This commit is contained in:
parent
738ef60ac6
commit
3fa8408801
1 changed files with 2 additions and 2 deletions
|
@ -38,7 +38,7 @@ class Slitmenu;
|
|||
|
||||
class Slitmenu : public Basemenu {
|
||||
public:
|
||||
explicit Slitmenu(Slit *);
|
||||
explicit Slitmenu(Slit &theslist);
|
||||
virtual ~Slitmenu(void);
|
||||
|
||||
inline Basemenu *getDirectionmenu(void) { return directionmenu; }
|
||||
|
@ -90,7 +90,7 @@ private:
|
|||
#ifdef XINERAMA
|
||||
Headmenu *headmenu;
|
||||
#endif // XINERAMA
|
||||
Slit *slit;
|
||||
Slit &slit;
|
||||
|
||||
friend class Directionmenu;
|
||||
friend class Placementmenu;
|
||||
|
|
Loading…
Reference in a new issue