ALT Linux Bugzilla
– Attachment 8936 Details for
Bug 38894
Ошибка сегментирования при запуске tutka
New bug
|
Search
|
[?]
|
Help
Register
|
Log In
[x]
|
Forgot Password
Login:
[x]
|
EN
|
RU
[patch]
Исправление
alt-fix-fix-with-Qt5-5.13.patch (text/plain), 1.49 KB, created by
Sergey V Turchin
on 2020-09-08 10:38:18 MSK
(
hide
)
Description:
Исправление
Filename:
MIME Type:
Creator:
Sergey V Turchin
Created:
2020-09-08 10:38:18 MSK
Size:
1.49 KB
patch
obsolete
>--- a/src/mainwindow.cpp >+++ b/src/mainwindow.cpp >@@ -214,7 +214,7 @@ MainWindow::MainWindow(Player *player, Q > connect(playingSequenceListDialog, SIGNAL(playingSequenceSelected(int)), player, SLOT(setPlayseq(int))); > connect(sectionListDialog, SIGNAL(sectionSelected(int)), player, SLOT(setSection(int))); > >- setGeometryFromString(this, settings.value("Windows/mainWindowGeometry", rectToString(windowHandle()->screen()->availableGeometry())).toString()); >+ setGeometryFromString(this, settings.value("Windows/mainWindowGeometry", rectToString(QApplication::desktop()->availableGeometry())).toString()); > setGeometryFromString(instrumentPropertiesDialog, settings.value("Windows/instrumentPropertiesDialogGeometry").toString()); > setGeometryFromString(openDialog, settings.value("Windows/openDialogGeometry").toString()); > setGeometryFromString(preferencesDialog, settings.value("Windows/preferencesDialogGeometry").toString()); >@@ -1018,7 +1018,7 @@ void MainWindow::setGeometryFromString(Q > if (rect.isValid()) { > widget->setGeometry(rect); > } else { >- QRect mainRect = widget->windowHandle()->screen()->availableGeometry(); >+ QRect mainRect = QApplication::desktop()->availableGeometry(); > QRect widgetRect = widget->geometry(); > widget->setGeometry(mainRect.x() + (mainRect.width() - widgetRect.width()) / 2, mainRect.y() + (mainRect.height() - widgetRect.height()) / 2, widgetRect.width(), widgetRect.height()); > }
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 38894
: 8936