1
mirror of https://invent.kde.org/network/falkon.git synced 2024-12-20 10:46:35 +01: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"); settings.beginGroup("SessionRestore");
bool startingAfterCrash = settings.value("isCrashed",false).toBool(); bool startingAfterCrash = settings.value("isCrashed",false).toBool();
settings.endGroup(); settings.endGroup();
qDebug() << "startingaftercrash" << startingAfterCrash;
QUrl startUrl; QUrl startUrl;
if (m_tryRestore) { if (m_tryRestore) {

View File

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

View File

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

View File

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