Skip to content
Snippets Groups Projects
Commit 4375960a authored by Wuttke, Joachim's avatar Wuttke, Joachim
Browse files

spell out if Linux

parent 2d01dcb1
No related branches found
No related tags found
1 merge request!595rm OSInfo.h
......@@ -13,7 +13,6 @@
// ************************************************************************************************
#include "GUI/View/PropertyEditor/GroupInfoBox.h"
#include "GUI/Util/OSInfo.h"
#include <QApplication>
#include <QMouseEvent>
#include <QPainter>
......@@ -92,9 +91,11 @@ void GroupInfoBox::paintEvent(QPaintEvent*)
m_yImage = 0;
// draw groupbox
int shift(1);
if (GUI::Util::OS::HostOsInfo::isLinuxHost())
shift = 3;
#if defined(Q_OS_LINUX)
const int shift = 3;
#else
const int shift = 1;
#endif
paint.drawItemPixmap(option.rect.adjusted(0, shift, 0, 0), Qt::AlignTop | Qt::AlignRight,
QPixmap(":/images/magnifier.png"));
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment