Commit 1943cb97 authored by Aleix Pol Gonzalez's avatar Aleix Pol Gonzalez 🐧

Warn if there's a shortcut conflict

parent e7048a35
......@@ -249,6 +249,8 @@ bool DiscoverMainWindow::eventFilter(QObject * object, QEvent * event)
KConfigGroup window(KSharedConfig::openConfig(), "Window");
window.writeEntry("geometry", rootObject()->geometry());
window.writeEntry<int>("visibility", rootObject()->visibility());
} else if (event->type() == QEvent::ShortcutOverride) {
qWarning() << "Action conflict" << event;
}
return false;
}
......
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