dbhub: Log in by only selecting an identity, no need to press a button

This removes the login button from the dbhub dock. Instead of selecting
an identity and then clicking the login button, you are now logged in by
just selecting an identity.
This commit is contained in:
Martin Kleusberg
2020-06-13 11:37:30 +02:00
parent fa3a0f5756
commit 5cdda28608
5 changed files with 25 additions and 25 deletions

View File

@@ -40,20 +40,6 @@
</property>
</widget>
</item>
<item>
<widget class="QToolButton" name="buttonLogin">
<property name="toolTip">
<string>Connect to the remote server using the currently selected identity. The correct server is taken from the identity as well.</string>
</property>
<property name="text">
<string>Go</string>
</property>
<property name="icon">
<iconset resource="icons/icons.qrc">
<normaloff>:/icons/cog_go.png</normaloff>:/icons/cog_go.png</iconset>
</property>
</widget>
</item>
<item>
<spacer name="horizontalSpacer">
<property name="orientation">
@@ -179,10 +165,10 @@
</resources>
<connections>
<connection>
<sender>buttonLogin</sender>
<signal>clicked()</signal>
<sender>comboUser</sender>
<signal>currentTextChanged(QString)</signal>
<receiver>RemoteDock</receiver>
<slot>setNewIdentity()</slot>
<slot>setNewIdentity(QString)</slot>
<hints>
<hint type="sourcelabel">
<x>551</x>
@@ -244,7 +230,7 @@
</connection>
</connections>
<slots>
<slot>setNewIdentity()</slot>
<slot>setNewIdentity(QString)</slot>
<slot>fetchDatabase(QModelIndex)</slot>
<slot>pushDatabase()</slot>
<slot>switchToMainView()</slot>