prevent [enter] from disconnecting you from a server (#515)
This commit is contained in:
parent
9077347845
commit
7038d87aa7
2 changed files with 4 additions and 12 deletions
|
@ -235,17 +235,6 @@ CClientDlg::CClientDlg ( CClient* pNCliP,
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
// Mac Workaround:
|
|
||||||
// If the connect button is the default button, on Mac it is highlighted
|
|
||||||
// by fading in and out a blue background color. This operation consumes so
|
|
||||||
// much CPU that we get audio interruptions.
|
|
||||||
// Better solution: increase thread priority of worker thread (since the
|
|
||||||
// user can always highlight the button manually, too) -> TODO
|
|
||||||
#if defined ( __APPLE__ ) || defined ( __MACOSX )
|
|
||||||
butConnect->setDefault ( false );
|
|
||||||
#endif
|
|
||||||
|
|
||||||
|
|
||||||
// File menu --------------------------------------------------------------
|
// File menu --------------------------------------------------------------
|
||||||
QMenu* pFileMenu = new QMenu ( tr ( "&File" ), this );
|
QMenu* pFileMenu = new QMenu ( tr ( "&File" ), this );
|
||||||
|
|
||||||
|
|
|
@ -343,8 +343,11 @@
|
||||||
<property name="text">
|
<property name="text">
|
||||||
<string>C&onnect</string>
|
<string>C&onnect</string>
|
||||||
</property>
|
</property>
|
||||||
|
<property name="autoDefault">
|
||||||
|
<bool>false</bool>
|
||||||
|
</property>
|
||||||
<property name="default">
|
<property name="default">
|
||||||
<bool>true</bool>
|
<bool>false</bool>
|
||||||
</property>
|
</property>
|
||||||
</widget>
|
</widget>
|
||||||
</item>
|
</item>
|
||||||
|
|
Loading…
Reference in a new issue