Change the distance from the main window to the edge of the screen
This commit is contained in:
parent
d81238b699
commit
52562e2b0c
|
@ -688,7 +688,7 @@ void MainWindow::handleIconClicked()
|
||||||
|
|
||||||
int n = objKyDBus->getTaskBarPos("position");
|
int n = objKyDBus->getTaskBarPos("position");
|
||||||
int m = objKyDBus->getTaskBarHeight("height");
|
int m = objKyDBus->getTaskBarHeight("height");
|
||||||
int d = 7; //窗口边沿到任务栏距离
|
int d = 4; //窗口边沿到任务栏距离
|
||||||
|
|
||||||
if (screenGeometry.width() == availableGeometry.width() && screenGeometry.height() == availableGeometry.height()) {
|
if (screenGeometry.width() == availableGeometry.width() && screenGeometry.height() == availableGeometry.height()) {
|
||||||
if (n == 0) {
|
if (n == 0) {
|
||||||
|
|
Loading…
Reference in New Issue