mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-04 08:36:52 +08:00
Fixed clazy warnings: new-style signal/slot connect syntax.
This commit is contained in:
@@ -42,7 +42,7 @@ namespace BlackGui
|
||||
void CConsoleTextEdit::customMenuRequested(const QPoint &pos)
|
||||
{
|
||||
QMenu *menu = QPlainTextEdit::createStandardContextMenu();
|
||||
menu->addAction(CIcons::delete16(), "Clear console", this, SLOT(clear()));
|
||||
menu->addAction(CIcons::delete16(), "Clear console", this, &QPlainTextEdit::clear);
|
||||
menu->exec(this->mapToGlobal(pos));
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user