equal
deleted
inserted
replaced
60 { |
60 { |
61 QPushButton * btnCancel = new QPushButton(tr("Cancel")); |
61 QPushButton * btnCancel = new QPushButton(tr("Cancel")); |
62 QPushButton * btnOkay = new QPushButton(tr("Set seed")); |
62 QPushButton * btnOkay = new QPushButton(tr("Set seed")); |
63 connect(btnCancel, SIGNAL(clicked()), this, SLOT(reject())); |
63 connect(btnCancel, SIGNAL(clicked()), this, SLOT(reject())); |
64 connect(btnOkay, SIGNAL(clicked()), this, SLOT(accept())); |
64 connect(btnOkay, SIGNAL(clicked()), this, SLOT(accept())); |
65 #ifdef Q_WS_MAC |
65 #ifdef Q_OS_MAC |
66 buttonLayout->addWidget(btnCancel); |
66 buttonLayout->addWidget(btnCancel); |
67 buttonLayout->addWidget(btnOkay); |
67 buttonLayout->addWidget(btnOkay); |
68 #else |
68 #else |
69 buttonLayout->addWidget(btnOkay); |
69 buttonLayout->addWidget(btnOkay); |
70 buttonLayout->addWidget(btnCancel); |
70 buttonLayout->addWidget(btnCancel); |