mirror of
https://github.com/tnodir/fort
synced 2024-11-15 05:25:56 +00:00
Minor fixes
This commit is contained in:
parent
e0ca687dc1
commit
1762ed500b
@ -105,8 +105,9 @@ void FortManager::showTrayIcon()
|
||||
|
||||
void FortManager::showWindow()
|
||||
{
|
||||
if (!m_engine)
|
||||
if (!m_engine) {
|
||||
setupEngine();
|
||||
}
|
||||
|
||||
if (m_firewallConfToEdit == nullConf()) {
|
||||
setFirewallConfToEdit(cloneConf(*m_firewallConf));
|
||||
|
@ -51,6 +51,7 @@ ApplicationWindow {
|
||||
MainPage {
|
||||
id: mainPage
|
||||
anchors.fill: parent
|
||||
implicitWidth: 0 // XXX: Workaround for binding loop
|
||||
|
||||
Keys.onEscapePressed: closeWindow()
|
||||
}
|
||||
|
@ -97,8 +97,8 @@ BasePage {
|
||||
TabButton {
|
||||
width: Math.max(100, implicitWidth)
|
||||
font.bold: checked
|
||||
text: appGroup.name
|
||||
icon.source: "qrc:/images/application_double.png"
|
||||
text: appGroup.name
|
||||
|
||||
readonly property AppGroup appGroup: modelData
|
||||
}
|
||||
|
@ -19,20 +19,20 @@ Page {
|
||||
currentIndex: swipeView.currentIndex
|
||||
|
||||
TabButton {
|
||||
text: QT_TRANSLATE_NOOP("qml", "Options")
|
||||
icon.source: "qrc:/images/cog.png"
|
||||
text: QT_TRANSLATE_NOOP("qml", "Options")
|
||||
}
|
||||
TabButton {
|
||||
text: QT_TRANSLATE_NOOP("qml", "IPv4 Addresses")
|
||||
icon.source: "qrc:/images/link.png"
|
||||
text: QT_TRANSLATE_NOOP("qml", "IPv4 Addresses")
|
||||
}
|
||||
TabButton {
|
||||
text: QT_TRANSLATE_NOOP("qml", "Applications")
|
||||
icon.source: "qrc:/images/application_cascade.png"
|
||||
text: QT_TRANSLATE_NOOP("qml", "Applications")
|
||||
}
|
||||
TabButton {
|
||||
text: QT_TRANSLATE_NOOP("qml", "Activity")
|
||||
icon.source: "qrc:/images/zoom.png"
|
||||
text: QT_TRANSLATE_NOOP("qml", "Activity")
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user