Commit 8219c817 authored by Laurent Montel's avatar Laurent Montel 😁

Use directly KWindowSystem::setMainWindow

parent 01afddb1
......@@ -122,11 +122,7 @@ void NotesAgent::showConfigureDialog(qlonglong windowId)
QPointer<NotesAgentSettingsDialog> dialog = new NotesAgentSettingsDialog;
if (windowId) {
#ifndef Q_OS_WIN
KWindowSystem::setMainWindow(dialog, windowId);
KWindowSystem::setMainWindow(dialog, (HWND)windowId);
if (dialog->exec()) {
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment