mirror of
https://github.com/fergalmoran/flameshot.git
synced 2026-01-07 01:23:58 +00:00
Solve cppcheck warnings
This commit is contained in:
@@ -563,10 +563,6 @@ void CaptureWidget::initSelection() {
|
||||
m_selection->setGeometry(QRect());
|
||||
}
|
||||
|
||||
void CaptureWidget::initWidget() {
|
||||
|
||||
}
|
||||
|
||||
void CaptureWidget::setState(CaptureButton *b) {
|
||||
if (!b) {
|
||||
return;
|
||||
@@ -826,10 +822,6 @@ void CaptureWidget::childLeave() {
|
||||
update();
|
||||
}
|
||||
|
||||
int CaptureWidget::handleSize() {
|
||||
return (QApplication::fontMetrics().height() * 0.7);
|
||||
}
|
||||
|
||||
void CaptureWidget::copyScreenshot() {
|
||||
m_captureDone = true;
|
||||
ScreenshotSaver().saveToClipboard(pixmap());
|
||||
|
||||
Reference in New Issue
Block a user