mirror of
https://github.com/overte-org/overte.git
synced 2025-08-09 10:07:58 +02:00
Update getWindowTitleBarHeight signature
This commit is contained in:
parent
55acff02a1
commit
5937830443
2 changed files with 2 additions and 2 deletions
|
@ -14,7 +14,7 @@
|
||||||
|
|
||||||
#include "UIUtil.h"
|
#include "UIUtil.h"
|
||||||
|
|
||||||
int UIUtil::getWindowTitleBarHeight(QWidget *window) {
|
int UIUtil::getWindowTitleBarHeight(const QWidget* window) {
|
||||||
QStyleOptionTitleBar options;
|
QStyleOptionTitleBar options;
|
||||||
options.titleBarState = 1;
|
options.titleBarState = 1;
|
||||||
options.titleBarFlags = Qt::Window;
|
options.titleBarFlags = Qt::Window;
|
||||||
|
|
|
@ -17,7 +17,7 @@
|
||||||
|
|
||||||
class UIUtil {
|
class UIUtil {
|
||||||
public:
|
public:
|
||||||
static int getWindowTitleBarHeight(QWidget *window);
|
static int getWindowTitleBarHeight(const QWidget* window);
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue