MCPcopy Create free account
hub / github.com/ckaiser/Lightscreen / uploadCancel

Method uploadCancel

lightscreenwindow.cpp:776–788  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

774}
775
776void LightscreenWindow::uploadCancel()
777{
778 if (Uploader::instance()->uploading() <= 0) {
779 return;
780 }
781
782 int confirm = QMessageBox::question(this, tr("Upload cancel"), tr("Do you want to cancel all screenshot uploads?"), tr("Cancel"), tr("Don't Cancel"));
783
784 if (confirm == 0) {
785 Uploader::instance()->cancel();
786 updateStatus();
787 }
788}
789
790void LightscreenWindow::uploadLast()
791{

Callers

nothing calls this directly

Calls 2

uploadingMethod · 0.80
cancelMethod · 0.45

Tested by

no test coverage detected