diff --git a/src/client.cpp b/src/client.cpp index 0aee733ca4..18d20b7a58 100644 --- a/src/client.cpp +++ b/src/client.cpp @@ -23,6 +23,7 @@ \******************************************************************************/ #include "client.h" +#include "util.h" /* Implementation *************************************************************/ CClient::CClient ( const quint16 iPortNumber, @@ -60,7 +61,7 @@ CClient::CClient ( const quint16 iPortNumber, bFraSiFactPrefSupported ( false ), bFraSiFactDefSupported ( false ), bFraSiFactSafeSupported ( false ), - eGUIDesign ( GD_ORIGINAL ), + eGUIDesign ( GD_DEFAULT ), eMeterStyle ( MT_LED_STRIPE ), bEnableAudioAlerts ( false ), bEnableOPUS64 ( false ), diff --git a/src/clientdlg.cpp b/src/clientdlg.cpp index 7f213d471b..bafb39e648 100644 --- a/src/clientdlg.cpp +++ b/src/clientdlg.cpp @@ -23,6 +23,7 @@ \******************************************************************************/ #include "clientdlg.h" +#include "util.h" /* Implementation *************************************************************/ CClientDlg::CClientDlg ( CClient* pNCliP, @@ -41,7 +42,7 @@ CClientDlg::CClientDlg ( CClient* pNCliP, bDetectFeedback ( false ), bEnableIPv6 ( bNEnableIPv6 ), eLastRecorderState ( RS_UNDEFINED ), // for SetMixerBoardDeco - eLastDesign ( GD_ORIGINAL ), // " + eLastDesign ( GD_DEFAULT ), // " ClientSettingsDlg ( pNCliP, pNSetP, parent ), ChatDlg ( parent ), ConnectDlg ( pNSetP, bNewShowComplRegConnList, bNEnableIPv6, parent ), diff --git a/src/util.h b/src/util.h index dc6e4f2834..73380000ad 100644 --- a/src/util.h +++ b/src/util.h @@ -525,6 +525,14 @@ enum EGUIDesign GD_SLIMFADER = 2 }; +// Default, fallback skin if no skin was selected +#if defined( Q_OS_IOS ) || defined( ANDROID ) || defined( Q_OS_ANDROID ) +// on mobile, slim UI is preferred for space reasons +# define GD_DEFAULT GD_SLIMFADER +#else +# define GD_DEFAULT GD_ORIGINAL +#endif + // MeterStyle enum ------------------------------------------------------------- enum EMeterStyle {