From 4d7e070bfeff0cbfe9ffeefc08f61801aa57d35f Mon Sep 17 00:00:00 2001 From: Christian Kaiser Date: Sat, 20 Feb 2016 19:35:06 -0300 Subject: [PATCH] Moved website stuff to https. --- dialogs/namingdialog.ui | 2 +- dialogs/optionsdialog.ui | 2982 +++++++++++++++++------------------ dialogs/updaterdialog.cpp | 2 +- lightscreenwindow.cpp | 2 +- tools/screenshotmanager.cpp | 4 +- updater/updater.cpp | 6 +- 6 files changed, 1499 insertions(+), 1499 deletions(-) diff --git a/dialogs/namingdialog.ui b/dialogs/namingdialog.ui index ac9c55b..af5baa9 100644 --- a/dialogs/namingdialog.ui +++ b/dialogs/namingdialog.ui @@ -161,7 +161,7 @@ margin-left: 4px - <a href="http://lightscreen.com.ar/help#date">[?]</a> + <a href="https://lightscreen.com.ar/help#date">[?]</a> Qt::AlignCenter diff --git a/dialogs/optionsdialog.ui b/dialogs/optionsdialog.ui index d7697b1..1219151 100644 --- a/dialogs/optionsdialog.ui +++ b/dialogs/optionsdialog.ui @@ -1,1491 +1,1491 @@ - - - OptionsDialog - - - - 0 - 0 - 399 - 312 - - - - Options - Lightscreen - - - - - - 0 - - - - General - - - - 6 - - - - - - 0 - 0 - - - - File - - - true - - - true - - - - 6 - - - 6 - - - 6 - - - 6 - - - 4 - - - - - &Directory: - - - Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter - - - targetLineEdit - - - - - - - - - - - - - - - 60 - 16777215 - - - - - - - false - - - - - - - The prefix for the screenshot file - - - &Filename: - - - Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter - - - prefixLineEdit - - - - - - - 3 - - - - - The prefix will be inserted before the <em>Naming</em> in the screenshot file and it is usually used to distinguish files. It can be left blank. - - - - - - - The naming is inserted after the prefix and is what makes each screenshot file unique to avoid overwriting.<br /> -<b>Numeric</b>: inserts a number in sequence, 1, 2, 3..<br /> -<b>Date</b>: inserts the current date and time, in the form of dd-MM-yyyy, click the "wrench" button on the right to customize the format.<br /> -<b>Timestamp</b>: inserts a number, a Unix timestamp, which is the number of seconds passed since 1970-1-1 00:00:00.<br /> - - - - - - (number) - - - - - (date) - - - - - (timestamp) - - - - - (none) - - - - - - - - - - false - - - - - - - The file format for the screenshot - - - F&ormat: - - - Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter - - - formatComboBox - - - - - - - - PNG - - - - - JPG - - - - - BMP - - - - - - - - &Quality: - - - Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter - - - qualitySlider - - - - - - - This slider goes from 0 to 100. 100 being the highest quality and 0 the lowest.<br> -Quality is related to file size and of course to readability and overall quality of the image. - - - 100 - - - 5 - - - 100 - - - Qt::Horizontal - - - - - - - 0 - - - QLayout::SetMinimumSize - - - - - - 8 - - - - 100 - - - - - - - - 7 - - - - % - - - - - - - - - <u>Preview</u>: - - - Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter - - - - - - - - - - - - - - - - - Qt::Vertical - - - - 0 - 0 - - - - - - - - - 0 - 0 - - - - System Startup - - - true - - - - - - - - - &Run Lightscreen at system startup. - - - - - - - - - Qt::Horizontal - - - QSizePolicy::Fixed - - - - 13 - 15 - - - - - - - - - - - H&ide the main window. - - - - - - - - - - - - - Hotkeys - - - - - - Captures - - - true - - - - 6 - - - 6 - - - 6 - - - 6 - - - 4 - - - - - - 0 - 0 - - - - &Fullscreen - - - - - - - - 0 - 0 - - - - - - - - - 0 - 0 - - - - Window &Picker - - - - - - - - - - Qt::Horizontal - - - - 40 - 0 - - - - - - - - - 0 - 0 - - - - Active &Window - - - - - - - - - - - 0 - 0 - - - - Screen &Area - - - - - - - - - - - - - Lightscreen Control - - - true - - - - 6 - - - 6 - - - 6 - - - 6 - - - 4 - - - - - - 0 - 0 - - - - &Open the program window - - - - - - - - - - - 0 - 0 - - - - Open the &directory - - - - - - - - - - Qt::Horizontal - - - - 40 - 0 - - - - - - - - - - - - Upload - - - - - - Upload all my screenshots automatically. - - - - - - - After uploading, copy the imgur URL to the clipboard. - - - - - - - User Account - - - true - - - true - - - false - - - - - - User: - - - imgurAuthButton - - - - - - - Authorize - - - - - - - Upload to album: - - - imgurAlbumComboBox - - - - - - - false - - - Refresh - - - - - - - - - None - - - - - - - - - <i>none - - - - - - - - - - <html><head/><body><p><span style=" text-decoration: underline;">Note</span>: Clicking on the &quot;Authorize&quot; button will open the Imgur website, where you will need to log in with the account you wish to use. They will provide an authentication PIN that you must input into Lightscreen.</p></body></html> - - - true - - - - - - - Qt::Vertical - - - - 20 - 40 - - - - - - - - - Options - - - - 0 - - - 0 - - - 0 - - - 0 - - - - - - 0 - 0 - - - - - 375 - 0 - - - - QFrame::NoFrame - - - Qt::ScrollBarAlwaysOff - - - true - - - - - 0 - 0 - 312 - 706 - - - - - 4 - - - 6 - - - 6 - - - 6 - - - 6 - - - - - Interface - - - true - - - - - - - - - Sho&w a system tray icon. - - - - - - - C&losing hides the main window. - - - - - - - &Hide Lightscreen while taking a screenshot. - - - - - - - 2 - - - 2 - - - - - Shows a completion message once the screenshot is saved, clicking this message takes you to the directory where the screenshot was saved. - - - Tray icon Popup - - - - - - - &Sound cue - - - - - - - Qt::Horizontal - - - QSizePolicy::Fixed - - - - 15 - 0 - - - - - - - - Qt::Horizontal - - - - 40 - 0 - - - - - - - - - 75 - true - true - - - - &Notify with: - - - messageCheckBox - - - - - - - - - - - - Screenshot Previews - - - true - - - true - - - true - - - - - - Maximum Size: - - - previewSizeSpinBox - - - - - - - QAbstractSpinBox::PlusMinus - - - true - - - QAbstractSpinBox::CorrectToNearestValue - - - px - - - 200 - - - 800 - - - 10 - - - 300 - - - - - - - Qt::Horizontal - - - - 40 - 20 - - - - - - - - Position: - - - previewPositionComboBox - - - - - - - 3 - - - - Top Left - - - - - Top Right - - - - - Bottom Left - - - - - Bottom Right - - - - - - - - Auto-close after - - - - - - - seconds - - - 1 - - - - - - - - 20 - 0 - - - - and - - - Qt::AlignCenter - - - previewAutocloseActionComboBox - - - - - - - 0 - - - - save - - - - - upload - - - - - cancel - - - - - - - - Default action: - - - previewDefaultActionComboBox - - - - - - - - save - - - - - upload - - - - - - - - - - - Screenshots - - - true - - - - - - Choose where to save each screenshot ("&Save as"). - - - - - - - &Grab only the active monitor. - - - - - - - Inc&lude the cursor in the screenshot. - - - - - - - &Magnify around the mouse in Area mode. - - - - - - - 2 - - - - - Runs OptiPNG which reduces screenshot file size. - - - O&ptimize PNG screenshots. - - - - - - - - - - - - 128 - 0 - 0 - - - - - - - - - 128 - 0 - 0 - - - - - - - - - 141 - 138 - 136 - - - - - - - - - - - - - - - Qt::Horizontal - - - - 40 - 0 - - - - - - - - - - Replace screenshots when there's an existing file. - - - - - - - Snap area screenshots automatically (no resizing). - - - - - - - - - D&elay: - - - Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter - - - delaySpinBox - - - - - - - Selecting anything other than 0 in this option will cause the program to <b>wait</b> that amount of seconds before taking the screenshot. - - - none - - - true - - - QAbstractSpinBox::CorrectToNearestValue - - - seconds - - - - - - 32767 - - - - - - - Qt::Horizontal - - - - 114 - 0 - - - - - - - - - - - - - Clipboard - - - true - - - - - - &Copy the screenshot to the clipboard. - - - - - - - - - - History - - - true - - - - - - Save my screenshot history. - - - - - - - Qt::Horizontal - - - - 95 - 20 - - - - - - - - View &History - - - - - - - - - - Updater - - - true - - - - - - Check for updates regularly. - - - - - - - Qt::Horizontal - - - - 40 - 0 - - - - - - - - Chec&k Now - - - - - - - - - - - - - - - About - - - - - - Lightscreen is a simple tool to take screenshots, designed to be customizable and lightweight.<br><br> -Created by <a href="http://ckaiser.com.ar">Christian Kaiser</a>, using the <a href="#aboutqt">Qt toolkit</a> for the graphical user interface. - - - true - - - Qt::LinksAccessibleByKeyboard|Qt::LinksAccessibleByMouse - - - - - - - Released under the <a href="http://www.gnu.org/licenses/gpl-2.0.html">GNU General Public License</a>. - - - Qt::LinksAccessibleByKeyboard|Qt::LinksAccessibleByMouse - - - - - - - - 12 - 75 - true - - - - Qt::AlignCenter - - - - - - - <a href="https://github.com/ckaiser/Lightscreen/">GitHub page</a><br><br><a href="http://lightscreen.com.ar/">Lightscreen home page</a> - - - Qt::AlignCenter - - - Qt::LinksAccessibleByKeyboard|Qt::LinksAccessibleByMouse - - - - - - - - - - - QDialogButtonBox::Cancel|QDialogButtonBox::Ok - - - - - - - - HotkeyWidget - QPushButton -
../widgets/hotkeywidget.h
-
-
- - fileGroupBox - targetLineEdit - browsePushButton - prefixLineEdit - namingComboBox - namingOptionsButton - formatComboBox - qualitySlider - startupCheckBox - startupHideCheckBox - screenCheckBox - screenHotkeyWidget - areaCheckBox - areaHotkeyWidget - windowCheckBox - windowHotkeyWidget - windowPickerCheckBox - windowPickerHotkeyWidget - openCheckBox - openHotkeyWidget - directoryCheckBox - directoryHotkeyWidget - trayCheckBox - hideCheckBox - messageCheckBox - playSoundCheckBox - previewGroupBox - previewSizeSpinBox - previewPositionComboBox - previewAutocloseCheckBox - previewAutocloseTimeSpinBox - previewAutocloseActionComboBox - previewDefaultActionComboBox - saveAsCheckBox - currentMonitorCheckBox - cursorCheckBox - magnifyCheckBox - optiPngCheckBox - replaceCheckBox - areaAutocloseCheckBox - delaySpinBox - historyCheckBox - historyPushButton - updaterCheckBox - checkUpdatesPushButton - buttonBox - - - - - buttonBox - rejected() - OptionsDialog - reject() - - - 307 - 304 - - - 286 - 274 - - - - - previewAutocloseCheckBox - toggled(bool) - previewAutocloseTimeSpinBox - setEnabled(bool) - - - 118 - 511 - - - 210 - 529 - - - - - previewAutocloseCheckBox - toggled(bool) - previewAutocloseActionComboBox - setEnabled(bool) - - - 115 - 511 - - - 302 - 529 - - - - -
+ + + OptionsDialog + + + + 0 + 0 + 399 + 318 + + + + Options - Lightscreen + + + + + + 0 + + + + General + + + + 6 + + + + + + 0 + 0 + + + + File + + + true + + + true + + + + 6 + + + 6 + + + 6 + + + 6 + + + 4 + + + + + &Directory: + + + Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter + + + targetLineEdit + + + + + + + + + + + + + + + 60 + 16777215 + + + + + + + false + + + + + + + The prefix for the screenshot file + + + &Filename: + + + Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter + + + prefixLineEdit + + + + + + + 3 + + + + + The prefix will be inserted before the <em>Naming</em> in the screenshot file and it is usually used to distinguish files. It can be left blank. + + + + + + + The naming is inserted after the prefix and is what makes each screenshot file unique to avoid overwriting.<br /> +<b>Numeric</b>: inserts a number in sequence, 1, 2, 3..<br /> +<b>Date</b>: inserts the current date and time, in the form of dd-MM-yyyy, click the "wrench" button on the right to customize the format.<br /> +<b>Timestamp</b>: inserts a number, a Unix timestamp, which is the number of seconds passed since 1970-1-1 00:00:00.<br /> + + + + + + (number) + + + + + (date) + + + + + (timestamp) + + + + + (none) + + + + + + + + + + false + + + + + + + The file format for the screenshot + + + F&ormat: + + + Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter + + + formatComboBox + + + + + + + + PNG + + + + + JPG + + + + + BMP + + + + + + + + &Quality: + + + Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter + + + qualitySlider + + + + + + + This slider goes from 0 to 100. 100 being the highest quality and 0 the lowest.<br> +Quality is related to file size and of course to readability and overall quality of the image. + + + 100 + + + 5 + + + 100 + + + Qt::Horizontal + + + + + + + 0 + + + QLayout::SetMinimumSize + + + + + + 8 + + + + 100 + + + + + + + + 7 + + + + % + + + + + + + + + <u>Preview</u>: + + + Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter + + + + + + + + + + + + + + + + + Qt::Vertical + + + + 0 + 0 + + + + + + + + + 0 + 0 + + + + System Startup + + + true + + + + + + + + + &Run Lightscreen at system startup. + + + + + + + + + Qt::Horizontal + + + QSizePolicy::Fixed + + + + 13 + 15 + + + + + + + + + + + H&ide the main window. + + + + + + + + + + + + + Hotkeys + + + + + + Captures + + + true + + + + 6 + + + 6 + + + 6 + + + 6 + + + 4 + + + + + + 0 + 0 + + + + &Fullscreen + + + + + + + + 0 + 0 + + + + + + + + + 0 + 0 + + + + Window &Picker + + + + + + + + + + Qt::Horizontal + + + + 40 + 0 + + + + + + + + + 0 + 0 + + + + Active &Window + + + + + + + + + + + 0 + 0 + + + + Screen &Area + + + + + + + + + + + + + Lightscreen Control + + + true + + + + 6 + + + 6 + + + 6 + + + 6 + + + 4 + + + + + + 0 + 0 + + + + &Open the program window + + + + + + + + + + + 0 + 0 + + + + Open the &directory + + + + + + + + + + Qt::Horizontal + + + + 40 + 0 + + + + + + + + + + + + Upload + + + + + + Upload all my screenshots automatically. + + + + + + + After uploading, copy the imgur URL to the clipboard. + + + + + + + User Account + + + true + + + true + + + false + + + + + + User: + + + imgurAuthButton + + + + + + + Authorize + + + + + + + Upload to album: + + + imgurAlbumComboBox + + + + + + + false + + + Refresh + + + + + + + + - None - + + + + + + + + <i>none + + + + + + + + + + <html><head/><body><p><span style=" text-decoration: underline;">Note</span>: Clicking on the &quot;Authorize&quot; button will open the Imgur website, where you will need to log in with the account you wish to use. They will provide an authentication PIN that you must input into Lightscreen.</p></body></html> + + + true + + + + + + + Qt::Vertical + + + + 20 + 40 + + + + + + + + + Options + + + + 0 + + + 0 + + + 0 + + + 0 + + + + + + 0 + 0 + + + + + 375 + 0 + + + + QFrame::NoFrame + + + Qt::ScrollBarAlwaysOff + + + true + + + + + 0 + 0 + 358 + 706 + + + + + 4 + + + 6 + + + 6 + + + 6 + + + 6 + + + + + Interface + + + true + + + + + + + + + Sho&w a system tray icon. + + + + + + + C&losing hides the main window. + + + + + + + &Hide Lightscreen while taking a screenshot. + + + + + + + 2 + + + 2 + + + + + Shows a completion message once the screenshot is saved, clicking this message takes you to the directory where the screenshot was saved. + + + Tray icon Popup + + + + + + + &Sound cue + + + + + + + Qt::Horizontal + + + QSizePolicy::Fixed + + + + 15 + 0 + + + + + + + + Qt::Horizontal + + + + 40 + 0 + + + + + + + + + 75 + true + true + + + + &Notify with: + + + messageCheckBox + + + + + + + + + + + + Screenshot Previews + + + true + + + true + + + true + + + + + + Maximum Size: + + + previewSizeSpinBox + + + + + + + QAbstractSpinBox::PlusMinus + + + true + + + QAbstractSpinBox::CorrectToNearestValue + + + px + + + 200 + + + 800 + + + 10 + + + 300 + + + + + + + Qt::Horizontal + + + + 40 + 20 + + + + + + + + Position: + + + previewPositionComboBox + + + + + + + 3 + + + + Top Left + + + + + Top Right + + + + + Bottom Left + + + + + Bottom Right + + + + + + + + Auto-close after + + + + + + + seconds + + + 1 + + + + + + + + 20 + 0 + + + + and + + + Qt::AlignCenter + + + previewAutocloseActionComboBox + + + + + + + 0 + + + + save + + + + + upload + + + + + cancel + + + + + + + + Default action: + + + previewDefaultActionComboBox + + + + + + + + save + + + + + upload + + + + + + + + + + + Screenshots + + + true + + + + + + Choose where to save each screenshot ("&Save as"). + + + + + + + &Grab only the active monitor. + + + + + + + Inc&lude the cursor in the screenshot. + + + + + + + &Magnify around the mouse in Area mode. + + + + + + + 2 + + + + + Runs OptiPNG which reduces screenshot file size. + + + O&ptimize PNG screenshots. + + + + + + + + + + + + 128 + 0 + 0 + + + + + + + + + 128 + 0 + 0 + + + + + + + + + 141 + 138 + 136 + + + + + + + + + + + + + + + Qt::Horizontal + + + + 40 + 0 + + + + + + + + + + Replace screenshots when there's an existing file. + + + + + + + Snap area screenshots automatically (no resizing). + + + + + + + + + D&elay: + + + Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter + + + delaySpinBox + + + + + + + Selecting anything other than 0 in this option will cause the program to <b>wait</b> that amount of seconds before taking the screenshot. + + + none + + + true + + + QAbstractSpinBox::CorrectToNearestValue + + + seconds + + + + + + 32767 + + + + + + + Qt::Horizontal + + + + 114 + 0 + + + + + + + + + + + + + Clipboard + + + true + + + + + + &Copy the screenshot to the clipboard. + + + + + + + + + + History + + + true + + + + + + Save my screenshot history. + + + + + + + Qt::Horizontal + + + + 95 + 20 + + + + + + + + View &History + + + + + + + + + + Updater + + + true + + + + + + Check for updates regularly. + + + + + + + Qt::Horizontal + + + + 40 + 0 + + + + + + + + Chec&k Now + + + + + + + + + + + + + + + About + + + + + + Lightscreen is a simple tool to take screenshots, designed to be customizable and lightweight.<br><br> +Created by <a href="https://ckaiser.com.ar">Christian Kaiser</a>, using the <a href="#aboutqt">Qt toolkit</a> for the graphical user interface. + + + true + + + Qt::LinksAccessibleByKeyboard|Qt::LinksAccessibleByMouse + + + + + + + Released under the <a href="http://www.gnu.org/licenses/gpl-2.0.html">GNU General Public License</a>. + + + Qt::LinksAccessibleByKeyboard|Qt::LinksAccessibleByMouse + + + + + + + + 12 + 75 + true + + + + Qt::AlignCenter + + + + + + + <a href="https://github.com/ckaiser/Lightscreen/">GitHub page</a><br><br><a href="https://lightscreen.com.ar/">Lightscreen home page</a> + + + Qt::AlignCenter + + + Qt::LinksAccessibleByKeyboard|Qt::LinksAccessibleByMouse + + + + + + + + + + + QDialogButtonBox::Cancel|QDialogButtonBox::Ok + + + + + + + + HotkeyWidget + QPushButton +
../widgets/hotkeywidget.h
+
+
+ + fileGroupBox + targetLineEdit + browsePushButton + prefixLineEdit + namingComboBox + namingOptionsButton + formatComboBox + qualitySlider + startupCheckBox + startupHideCheckBox + screenCheckBox + screenHotkeyWidget + areaCheckBox + areaHotkeyWidget + windowCheckBox + windowHotkeyWidget + windowPickerCheckBox + windowPickerHotkeyWidget + openCheckBox + openHotkeyWidget + directoryCheckBox + directoryHotkeyWidget + trayCheckBox + hideCheckBox + messageCheckBox + playSoundCheckBox + previewGroupBox + previewSizeSpinBox + previewPositionComboBox + previewAutocloseCheckBox + previewAutocloseTimeSpinBox + previewAutocloseActionComboBox + previewDefaultActionComboBox + saveAsCheckBox + currentMonitorCheckBox + cursorCheckBox + magnifyCheckBox + optiPngCheckBox + replaceCheckBox + areaAutocloseCheckBox + delaySpinBox + historyCheckBox + historyPushButton + updaterCheckBox + checkUpdatesPushButton + buttonBox + + + + + buttonBox + rejected() + OptionsDialog + reject() + + + 307 + 304 + + + 286 + 274 + + + + + previewAutocloseCheckBox + toggled(bool) + previewAutocloseTimeSpinBox + setEnabled(bool) + + + 118 + 511 + + + 210 + 529 + + + + + previewAutocloseCheckBox + toggled(bool) + previewAutocloseActionComboBox + setEnabled(bool) + + + 115 + 511 + + + 302 + 529 + + + + +
diff --git a/dialogs/updaterdialog.cpp b/dialogs/updaterdialog.cpp index c2c7f2c..c92e878 100644 --- a/dialogs/updaterdialog.cpp +++ b/dialogs/updaterdialog.cpp @@ -47,7 +47,7 @@ QProgressDialog("", tr("Cancel"), 0, 0, parent) void UpdaterDialog::updateDone(bool result) { if (result) { - setLabelText(tr("There's a new version available,
please see the Lighscreen website.").arg(qApp->applicationVersion())); + setLabelText(tr("There's a new version available,
please see the Lighscreen website.").arg(qApp->applicationVersion())); } else { setLabelText(tr("No new versions available.")); diff --git a/lightscreenwindow.cpp b/lightscreenwindow.cpp index a955e93..f65f478 100644 --- a/lightscreenwindow.cpp +++ b/lightscreenwindow.cpp @@ -769,7 +769,7 @@ void LightscreenWindow::updaterDone(bool result) msgBox.exec(); if (msgBox.clickedButton() == yesButton) { - QDesktopServices::openUrl(QUrl("http://lightscreen.com.ar/whatsnew?from=" + qApp->applicationVersion())); + QDesktopServices::openUrl(QUrl("https://lightscreen.com.ar/whatsnew?from=" + qApp->applicationVersion())); } else if (msgBox.clickedButton() == turnOffButton) { settings()->setValue("options/disableUpdater", true); diff --git a/tools/screenshotmanager.cpp b/tools/screenshotmanager.cpp index 9a3647b..99f7a81 100644 --- a/tools/screenshotmanager.cpp +++ b/tools/screenshotmanager.cpp @@ -92,7 +92,7 @@ void ScreenshotManager::saveHistory(QString fileName, QString url, QString delet QString deleteUrl; if (!deleteHash.isEmpty()) - deleteUrl = "http://imgur.com/delete/" + deleteHash; + deleteUrl = "https://imgur.com/delete/" + deleteHash; QSqlQuery query; query.prepare("INSERT INTO history (fileName, URL, deleteURL, time) VALUES(?, ?, ?, ?)"); @@ -117,7 +117,7 @@ void ScreenshotManager::updateHistory(QString fileName, QString url, QString del QSqlQuery updateQuery; updateQuery.prepare("UPDATE history SET URL = ?, deleteURL = ?, time = ? WHERE fileName = ?"); updateQuery.addBindValue(url); - updateQuery.addBindValue("http://imgur.com/delete/" + deleteHash); + updateQuery.addBindValue("https://imgur.com/delete/" + deleteHash); updateQuery.addBindValue(QDateTime::currentMSecsSinceEpoch()); updateQuery.addBindValue(fileName); diff --git a/updater/updater.cpp b/updater/updater.cpp index 0ef08b8..e571ccc 100644 --- a/updater/updater.cpp +++ b/updater/updater.cpp @@ -41,9 +41,9 @@ void Updater::check() #else platform = "Linux"; #endif - - QNetworkRequest request(QUrl("http://lightscreen.com.ar/version?from=" + qApp->applicationVersion() + "&platform=" + platform)); - mNetwork.get(request); + + QNetworkRequest request(QUrl("https://lightscreen.com.ar/version?from=" + qApp->applicationVersion() + "&platform=" + platform)); + mNetwork.get(request); } void Updater::checkWithFeedback()