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 buttonLayout->addWidget(btnCancel); |
66 buttonLayout->addWidget(btnCancel); |
66 buttonLayout->addWidget(btnOkay); |
67 buttonLayout->addWidget(btnOkay); |
|
68 #else |
|
69 buttonLayout->addWidget(btnOkay); |
|
70 buttonLayout->addWidget(btnCancel); |
|
71 #endif |
67 btnOkay->setDefault(true); |
72 btnOkay->setDefault(true); |
68 } |
73 } |
69 else |
74 else |
70 { |
75 { |
71 QPushButton * btnClose = new QPushButton(tr("Close")); |
76 QPushButton * btnClose = new QPushButton(tr("Close")); |