Commit ebc27ed6 authored by Vincent Texier's avatar Vincent Texier
Browse files

[fix] #811 remove explore WoT button

Fix blank window displayed if no current connection
parent 891a11ff
......@@ -79,7 +79,6 @@ class MainWindowController(QObject):
)
toolbar.view.button_network.clicked.connect(navigation.open_network_view)
toolbar.view.button_identity.clicked.connect(navigation.open_identities_view)
toolbar.view.button_explore.clicked.connect(navigation.open_wot_view)
toolbar.exit_triggered.connect(main_window.view.close)
# app.version_requested.connect(main_window.latest_version_requested)
# app.account_imported.connect(main_window.import_account_accepted)
......
......@@ -66,23 +66,6 @@
</property>
</widget>
</item>
<item>
<widget class="QPushButton" name="button_explore">
<property name="text">
<string>Explore</string>
</property>
<property name="icon">
<iconset resource="../../../../../res/icons/sakia.icons.qrc">
<normaloff>:/icons/add_community</normaloff>:/icons/add_community</iconset>
</property>
<property name="iconSize">
<size>
<width>32</width>
<height>32</height>
</size>
</property>
</widget>
</item>
<item>
<spacer name="horizontalSpacer">
<property name="orientation">
......
......@@ -97,7 +97,6 @@ class ToolbarView(QFrame, Ui_SakiaToolbar):
self.button_network.setIconSize(self.button_network.iconSize() * dpi_ratio())
self.button_contacts.setIconSize(self.button_contacts.iconSize() * dpi_ratio())
self.button_identity.setIconSize(self.button_identity.iconSize() * dpi_ratio())
self.button_explore.setIconSize(self.button_explore.iconSize() * dpi_ratio())
self.toolbutton_menu.setIconSize(self.toolbutton_menu.iconSize() * dpi_ratio())
self.button_network.setFixedHeight(
self.button_network.height() * dpi_ratio() + 5 * dpi_ratio()
......@@ -108,9 +107,6 @@ class ToolbarView(QFrame, Ui_SakiaToolbar):
self.button_identity.setFixedHeight(
self.button_identity.height() * dpi_ratio() + 5 * dpi_ratio()
)
self.button_explore.setFixedHeight(
self.button_explore.height() * dpi_ratio() + 5 * dpi_ratio()
)
self.toolbutton_menu.setFixedHeight(
self.toolbutton_menu.height() * dpi_ratio() + 5 * dpi_ratio()
)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment