QTfrontend/ui/widget/seedprompt.cpp
changeset 9163 67334acaaac7
parent 9080 9b42757d7e71
child 9998 736015b847e3
equal deleted inserted replaced
9161:b2f02b083374 9163:67334acaaac7
    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);