mirror of
https://github.com/greenshot/greenshot
synced 2025-08-14 02:37:03 -07:00
Misc small changes for code quality.
This commit is contained in:
parent
ada50c429a
commit
4dd67df1dd
8 changed files with 17 additions and 17 deletions
|
@ -54,13 +54,13 @@ namespace GreenshotDropboxPlugin {
|
|||
|
||||
public override ExportInformation ExportCapture(bool manually, ISurface surface, ICaptureDetails captureDetails) {
|
||||
ExportInformation exportInformation = new ExportInformation(Designation, Description);
|
||||
string uploadURL = null;
|
||||
bool uploaded = plugin.Upload(captureDetails, surface, out uploadURL);
|
||||
string uploadUrl;
|
||||
bool uploaded = plugin.Upload(captureDetails, surface, out uploadUrl);
|
||||
if (uploaded) {
|
||||
exportInformation.Uri = uploadURL;
|
||||
exportInformation.Uri = uploadUrl;
|
||||
exportInformation.ExportMade = true;
|
||||
if (config.AfterUploadLinkToClipBoard) {
|
||||
ClipboardHelper.SetClipboardData(uploadURL);
|
||||
ClipboardHelper.SetClipboardData(uploadUrl);
|
||||
}
|
||||
}
|
||||
ProcessExport(exportInformation, surface);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue