mirror of
https://github.com/MatsuriDayo/nekoray.git
synced 2025-12-17 12:34:37 +03:00
@@ -1307,6 +1307,10 @@ End: %2</source>
|
||||
4. UDP Latency</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Show Window</source>
|
||||
<translation>نمایش پنجره برنامه</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>ProxyItem</name>
|
||||
|
||||
@@ -1297,6 +1297,10 @@ Split by line.</source>
|
||||
3. 入口出口 IP
|
||||
4. UDP DNS 延迟</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Show Window</source>
|
||||
<translation>显示主窗口</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>ProxyItem</name>
|
||||
|
||||
@@ -257,6 +257,7 @@ MainWindow::MainWindow(QWidget *parent) : QMainWindow(parent), ui(new Ui::MainWi
|
||||
ui->menu_program_preference->addActions(ui->menu_preferences->actions());
|
||||
connect(ui->menu_add_from_clipboard2, &QAction::triggered, ui->menu_add_from_clipboard, &QAction::trigger);
|
||||
connect(ui->actionRestart_Program, &QAction::triggered, this, [=] { MW_dialog_message("", "RestartProgram"); });
|
||||
connect(ui->actionShow_window, &QAction::triggered, this, [=] { tray->activated(QSystemTrayIcon::ActivationReason::Trigger); });
|
||||
//
|
||||
connect(ui->menu_program, &QMenu::aboutToShow, this, [=]() {
|
||||
ui->actionRemember_last_proxy->setChecked(NekoRay::dataStore->remember_enable);
|
||||
|
||||
@@ -484,6 +484,7 @@
|
||||
</property>
|
||||
<addaction name="actionfake_3"/>
|
||||
</widget>
|
||||
<addaction name="actionShow_window"/>
|
||||
<addaction name="menu_add_from_clipboard2"/>
|
||||
<addaction name="menu_scan_qr"/>
|
||||
<addaction name="separator"/>
|
||||
@@ -574,6 +575,11 @@
|
||||
<string>Exit</string>
|
||||
</property>
|
||||
</action>
|
||||
<action name="actionShow_window">
|
||||
<property name="text">
|
||||
<string>Show Window</string>
|
||||
</property>
|
||||
</action>
|
||||
<action name="menu_basic_settings">
|
||||
<property name="text">
|
||||
<string>Basic Settings</string>
|
||||
|
||||
Reference in New Issue
Block a user