Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion src/client.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@
\******************************************************************************/

#include "client.h"
#include "util.h"

/* Implementation *************************************************************/
CClient::CClient ( const quint16 iPortNumber,
Expand Down Expand Up @@ -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 ),
Expand Down
3 changes: 2 additions & 1 deletion src/clientdlg.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@
\******************************************************************************/

#include "clientdlg.h"
#include "util.h"

/* Implementation *************************************************************/
CClientDlg::CClientDlg ( CClient* pNCliP,
Expand All @@ -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 ),
Expand Down
8 changes: 8 additions & 0 deletions src/util.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
{
Expand Down
Loading