Permalink
Browse files

Missing constructor

  • Loading branch information...
1 parent 7c0d7cd commit 366b034dc4ac34343a70ebc3a52051234222b96b @escoz escoz committed Jan 23, 2012
Showing with 7 additions and 2 deletions.
  1. +2 −0 quickdialog/QButtonElement.h
  2. +5 −2 quickdialog/QButtonElement.m
@@ -18,6 +18,8 @@
}
+- (QButtonElement *)init;
+
- (QButtonElement *)initWithTitle:(NSString *)title;
@end
@@ -12,10 +12,13 @@
// permissions and limitations under the License.
//
-#import "QButtonElement.h"
-
@implementation QButtonElement
+- (QButtonElement *)init {
+ self = [super init];
+ return self;
+}
+
- (QButtonElement *)initWithTitle:(NSString *)title {
self = [super initWithTitle:title Value:nil];
return self;

0 comments on commit 366b034

Please sign in to comment.