X-Git-Url: https://gitweb.stoutner.com/?a=blobdiff_plain;f=src%2Fwindows%2FBrowserWindow.cpp;h=1ab6cfc613bb0292a6a837c3093b6d4a74678410;hb=16118809a11aa423f453a03c47f5263e9dd8b662;hp=e7bb620f52860a4a787bb57eb57c5f13449b27c2;hpb=0a7bcc3ab2d2a1015f29293fc9c527c1448a86cf;p=PrivacyBrowserPC.git diff --git a/src/windows/BrowserWindow.cpp b/src/windows/BrowserWindow.cpp index e7bb620..1ab6cfc 100644 --- a/src/windows/BrowserWindow.cpp +++ b/src/windows/BrowserWindow.cpp @@ -153,10 +153,11 @@ void BrowserWindow::getZoomFactorFromUser() bool okClicked; // Display a dialog to get the new zoom factor from the user. Format the double to display two decimals and have a 0.25 step. - double newZoomFactor = QInputDialog::getDouble(this, i18nc("The tile of the on-the-fly zoom factor dialog", "On-The-Fly Zoom Factor"), + double newZoomFactor = QInputDialog::getDouble(this, i18nc("The on-the-fly zoom factor dialog title", "On-The-Fly Zoom Factor"), i18nc("The instruction text of the on-the-fly zoom factor dialog", "Enter a zoom factor between 0.25 and 5.00"), currentZoomFactor, .025, 5.00, 2, &okClicked, Qt::WindowFlags(), 0.25); + // Update the zoom factor if the user clicked OK. if (okClicked) { // Update the current zoom factor.