Skip to content

Commit

Permalink
kernelshark: Use static_cast instead of C cast in KsMainWindow
Browse files Browse the repository at this point in the history
Signed-off-by: Benjamin ROBIN <[email protected]>
Signed-off-by: Yordan Karadzhov <[email protected]>
  • Loading branch information
benjarobin authored and yordan-karadzhov committed Jan 20, 2024
1 parent 6d77de9 commit 9c3db37
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/KsMainWindow.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1546,7 +1546,7 @@ void KsMainWindow::_captureFinished(int ret, QProcess::ExitStatus st)

void KsMainWindow::_captureError(QProcess::ProcessError error)
{
QProcess *capture = (QProcess *)sender();
QProcess *capture = static_cast<QProcess*>(sender());
_captureErrorMessage(capture);
}

Expand Down

0 comments on commit 9c3db37

Please sign in to comment.