summaryrefslogtreecommitdiff
path: root/src/gui/widgets/layout.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2011-01-28 20:49:24 +0200
committerAndrei Karas <akaras@inbox.ru>2011-01-28 20:49:24 +0200
commitafece3f6acd9a7a4a009b73883d4c2d27ac1b8ce (patch)
treec74d0f6e0a0000274ece2d663ed90a83459191a0 /src/gui/widgets/layout.h
parent8d3b46c492cade8504fafedbd6c00b6a39968388 (diff)
downloadManaVerse-afece3f6acd9a7a4a009b73883d4c2d27ac1b8ce.tar.gz
ManaVerse-afece3f6acd9a7a4a009b73883d4c2d27ac1b8ce.tar.bz2
ManaVerse-afece3f6acd9a7a4a009b73883d4c2d27ac1b8ce.tar.xz
ManaVerse-afece3f6acd9a7a4a009b73883d4c2d27ac1b8ce.zip
Fix code style and some new compilation warnings.
Diffstat (limited to 'src/gui/widgets/layout.h')
-rw-r--r--src/gui/widgets/layout.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/gui/widgets/layout.h b/src/gui/widgets/layout.h
index 4c1e40bb9..f6621ee11 100644
--- a/src/gui/widgets/layout.h
+++ b/src/gui/widgets/layout.h
@@ -170,7 +170,10 @@ class LayoutCell
FILL
};
- LayoutCell(): mType(NONE) {}
+ LayoutCell():
+ mWidget(0),
+ mType(NONE)
+ { }
~LayoutCell();