1
mirror of https://invent.kde.org/network/falkon.git synced 2024-09-21 09:42:10 +02:00

Modified some debug info strings

This commit is contained in:
nowrep 2011-03-24 16:51:19 +01:00
parent cf14bcbdf1
commit 4aed402d09
4 changed files with 6 additions and 8 deletions

View File

@ -41,7 +41,6 @@ void QupZilla::postLaunch()
settings.beginGroup("SessionRestore");
bool startingAfterCrash = settings.value("isCrashed",false).toBool();
settings.endGroup();
qDebug() << "startingaftercrash" << startingAfterCrash;
QUrl startUrl;
if (m_tryRestore) {

View File

@ -289,13 +289,11 @@ void MainApplication::quitApplication()
m_downloadManager->show();
return;
}
m_isClosing = true;
if (m_mainWindows.count() > 0)
saveStateSlot();
qDebug() << __FUNCTION__ << "called";
qDebug() << "Quitting application...";
QSettings settings(m_activeProfil+"settings.ini", QSettings::IniFormat);
settings.beginGroup("SessionRestore");
settings.setValue("isRunning",false);

View File

@ -15,12 +15,11 @@
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
* ============================================================ */
#include <QtGui/QApplication>
#include <QTextCodec>
#include <QtPlugin>
#include <QDebug>
#include <iostream>
#include "mainapplication.h"
int main(int argc, char *argv[])
@ -34,7 +33,9 @@ int main(int argc, char *argv[])
#endif
MainApplication app(argc, argv);
if (app.isExited())
if (app.isExited()) {
std::cout << "QupZilla already running - activating existing window" << std::endl;
return 1;
}
return app.exec();
}

View File

@ -57,7 +57,7 @@ void WebPage::handleUnsupportedContent(QNetworkReply* reply)
qDebug() << reply->errorString();
break;
}
qDebug() << "error" << reply->errorString();
qDebug() << "WebPage::UnsupportedContent error" << reply->errorString();
}
void WebPage::setSSLCertificate(QSslCertificate cert)