Minor fixes

This commit is contained in:
Nodir Temirkhodjaev 2017-09-06 17:06:14 +05:00
parent e0ca687dc1
commit 1762ed500b
4 changed files with 8 additions and 6 deletions

View File

@ -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));

View File

@ -51,6 +51,7 @@ ApplicationWindow {
MainPage {
id: mainPage
anchors.fill: parent
implicitWidth: 0 // XXX: Workaround for binding loop
Keys.onEscapePressed: closeWindow()
}

View File

@ -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
}

View File

@ -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")
}
}