mirror of
https://github.com/PrismLauncher/PrismLauncher.git
synced 2025-05-11 20:14:37 +02:00
Add dummy UI button
This commit is contained in:
parent
48235f5b71
commit
fac521a312
@ -734,4 +734,9 @@ void ServersPage::on_actionJoin_triggered()
|
|||||||
APPLICATION->launch(m_inst, true, false, std::make_shared<MinecraftTarget>(MinecraftTarget::parse(address, false)));
|
APPLICATION->launch(m_inst, true, false, std::make_shared<MinecraftTarget>(MinecraftTarget::parse(address, false)));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
void ServersPage::on_actionRefresh_triggered()
|
||||||
|
{
|
||||||
|
qDebug() << "Action clicked";
|
||||||
|
}
|
||||||
|
|
||||||
#include "ServersPage.moc"
|
#include "ServersPage.moc"
|
||||||
|
@ -85,6 +85,7 @@ class ServersPage : public QMainWindow, public BasePage {
|
|||||||
void on_actionMove_Up_triggered();
|
void on_actionMove_Up_triggered();
|
||||||
void on_actionMove_Down_triggered();
|
void on_actionMove_Down_triggered();
|
||||||
void on_actionJoin_triggered();
|
void on_actionJoin_triggered();
|
||||||
|
void on_actionRefresh_triggered();
|
||||||
|
|
||||||
void runningStateChanged(bool running);
|
void runningStateChanged(bool running);
|
||||||
|
|
||||||
|
@ -149,6 +149,8 @@
|
|||||||
<addaction name="actionMove_Up"/>
|
<addaction name="actionMove_Up"/>
|
||||||
<addaction name="actionMove_Down"/>
|
<addaction name="actionMove_Down"/>
|
||||||
<addaction name="actionJoin"/>
|
<addaction name="actionJoin"/>
|
||||||
|
<addaction name="separator"/>
|
||||||
|
<addaction name="actionRefresh"/>
|
||||||
</widget>
|
</widget>
|
||||||
<action name="actionAdd">
|
<action name="actionAdd">
|
||||||
<property name="text">
|
<property name="text">
|
||||||
@ -175,6 +177,11 @@
|
|||||||
<string>Join</string>
|
<string>Join</string>
|
||||||
</property>
|
</property>
|
||||||
</action>
|
</action>
|
||||||
|
<action name="actionRefresh">
|
||||||
|
<property name="text">
|
||||||
|
<string>Refresh</string>
|
||||||
|
</property>
|
||||||
|
</action>
|
||||||
</widget>
|
</widget>
|
||||||
<customwidgets>
|
<customwidgets>
|
||||||
<customwidget>
|
<customwidget>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user