mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-11-29 19:49:00 +08:00
13 lines
585 B
Diff
13 lines
585 B
Diff
diff --git a/cmd/gvedit/mainwindow.cpp b/cmd/gvedit/mainwindow.cpp
|
|
--- a/cmd/gvedit/mainwindow.cpp
|
|
+++ b/cmd/gvedit/mainwindow.cpp
|
|
@@ -595,7 +595,7 @@ void CMainWindow::readSettings()
|
|
// first try new settings
|
|
{
|
|
QSettings settings("Graphviz", "gvedit");
|
|
- if (settings.contains("pos") and settings.contains("size")) {
|
|
+ if (settings.contains("pos") && settings.contains("size")) {
|
|
QPoint pos = settings.value("pos", QPoint(200, 200)).toPoint();
|
|
QSize size = settings.value("size", QSize(400, 400)).toSize();
|
|
move(pos);
|