mirror of
https://github.com/PrismLauncher/PrismLauncher.git
synced 2025-05-08 02:24:39 +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)));
|
||||
}
|
||||
|
||||
void ServersPage::on_actionRefresh_triggered()
|
||||
{
|
||||
qDebug() << "Action clicked";
|
||||
}
|
||||
|
||||
#include "ServersPage.moc"
|
||||
|
@ -85,6 +85,7 @@ class ServersPage : public QMainWindow, public BasePage {
|
||||
void on_actionMove_Up_triggered();
|
||||
void on_actionMove_Down_triggered();
|
||||
void on_actionJoin_triggered();
|
||||
void on_actionRefresh_triggered();
|
||||
|
||||
void runningStateChanged(bool running);
|
||||
|
||||
|
@ -149,6 +149,8 @@
|
||||
<addaction name="actionMove_Up"/>
|
||||
<addaction name="actionMove_Down"/>
|
||||
<addaction name="actionJoin"/>
|
||||
<addaction name="separator"/>
|
||||
<addaction name="actionRefresh"/>
|
||||
</widget>
|
||||
<action name="actionAdd">
|
||||
<property name="text">
|
||||
@ -175,6 +177,11 @@
|
||||
<string>Join</string>
|
||||
</property>
|
||||
</action>
|
||||
<action name="actionRefresh">
|
||||
<property name="text">
|
||||
<string>Refresh</string>
|
||||
</property>
|
||||
</action>
|
||||
</widget>
|
||||
<customwidgets>
|
||||
<customwidget>
|
||||
|
Loading…
x
Reference in New Issue
Block a user