UserInterface Reload button place changed

This commit is contained in:
Rafael 2016-04-11 17:01:45 +02:00
parent aa890b432a
commit b88e117ba9
2 changed files with 2 additions and 3 deletions

View file

@ -136,9 +136,8 @@ void UserInterface::setupProfileUi(QStringList GTAV_Profiles)
{ {
QPushButton *reloadBtn = new QPushButton(tr("&Reload"), ui->swSelection); QPushButton *reloadBtn = new QPushButton(tr("&Reload"), ui->swSelection);
reloadBtn->setObjectName("cmdReload"); reloadBtn->setObjectName("cmdReload");
reloadBtn->setMinimumSize(0, 40);
reloadBtn->setAutoDefault(true); reloadBtn->setAutoDefault(true);
ui->vlButtons->addWidget(reloadBtn); ui->hlButtons->insertWidget(1, reloadBtn);
profileBtns.append(reloadBtn); profileBtns.append(reloadBtn);
QObject::connect(reloadBtn, SIGNAL(clicked(bool)), this, SLOT(reloadProfiles_clicked())); QObject::connect(reloadBtn, SIGNAL(clicked(bool)), this, SLOT(reloadProfiles_clicked()));

View file

@ -100,7 +100,7 @@
<item> <item>
<widget class="QPushButton" name="cmdClose"> <widget class="QPushButton" name="cmdClose">
<property name="text"> <property name="text">
<string>Close</string> <string>&amp;Close</string>
</property> </property>
<property name="autoDefault"> <property name="autoDefault">
<bool>true</bool> <bool>true</bool>