logic: Added cross-compilation UI to CXX source group setup (issue #370)
Allows for defining specific target triple of architecture, vendor, OS and environment as set of dropdown lists in CXX source group setup. bug id = 370
This commit is contained in:
@@ -1,9 +1,9 @@
|
||||
#include "qt/view/QtGraphViewStyleImpl.h"
|
||||
|
||||
#include <QFontMetrics>
|
||||
#include <QSysInfo>
|
||||
|
||||
#include "qt/view/graphElements/QtGraphNode.h"
|
||||
#include "utility/utilityApp.h"
|
||||
|
||||
QtGraphViewStyleImpl::~QtGraphViewStyleImpl()
|
||||
{
|
||||
@@ -21,10 +21,10 @@ float QtGraphViewStyleImpl::getCharHeightForNodeType(Node::NodeType type)
|
||||
|
||||
float QtGraphViewStyleImpl::getGraphViewZoomDifferenceForPlatform()
|
||||
{
|
||||
if (QSysInfo::macVersion() == QSysInfo::MV_None)
|
||||
if (utility::getOsType() == OS_MAC)
|
||||
{
|
||||
return 1.25;
|
||||
return 1;
|
||||
}
|
||||
|
||||
return 1;
|
||||
return 1.25;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user