ALT Linux repos
S: | 8.0-alt2 |
D: | 4.0-alt1.beta2 |
5.0: | 3.1-alt4 |
4.1: | 3.1-alt2 |
4.0: | 3.0-alt1 |
3.0: | 1.0-alt1 |
+backports: | 2.0-alt1.M30.1 |
Group :: Office
RPM: kchmviewer
Main Changelog Spec Patches Sources Download Gear Bugs and FR Repocop
Patch: kchmviewer-8.0-remove-debug-output.patch
Download
Download
diff --git a/src/viewwindow_webengine.cpp b/src/viewwindow_webengine.cpp
index 1bcdf6f..1892b16 100644
--- a/src/viewwindow_webengine.cpp
+++ b/src/viewwindow_webengine.cpp
@@ -107,8 +107,6 @@ void ViewWindow::invalidate( )
bool ViewWindow::openUrl ( const QUrl& url )
{
- qDebug("ViewWindow::openUrl %s", qPrintable(url.toString()));
-
// Do not use setContent() here, it resets QWebHistory
load( url );
@@ -234,7 +232,7 @@ int ViewWindow::getScrollbarPosition()
{
QAtomicInt value = -1;
- page()->runJavaScript("document.body.scrollTop", [&value](const QVariant &v) { qDebug( "value retrieved: %d\n", v.toInt()); value = v.toInt(); });
+ page()->runJavaScript("document.body.scrollTop", [&value](const QVariant &v) { value = v.toInt(); });
while ( value == -1 )
{