Removing unnecessary code.

- namely pagethumbnailer call in about dialog
remotes/origin/falkon
nowrep 14 years ago
parent 47887329da
commit 529d8e16dc
  1. 8
      scripts/pythonLineCounter.py
  2. 6
      src/other/aboutdialog.cpp

@ -3,18 +3,20 @@ import commands, re
cpp=commands.getoutput("find . -name '*.cpp' | xargs wc -l |grep celkem")
headers=commands.getoutput("find . -name '*.h' | xargs wc -l |grep celkem")
html=commands.getoutput("find . -name '*.html' | xargs wc -l |grep celkem")
intcpp=int(re.findall(r"\d+",cpp)[0])
intheaders=int(re.findall(r"\d+",headers)[0])
inthtml=int(re.findall(r"\d+",html)[0])
print "\n"
print "##########################"
print "## nowrep line counter! ##"
print "## QupZilla ##"
print "##########################"
print "\n"
print "Lines in Headers (.h files): "+str(intheaders)
print "Lines in Sources (.cpp files): "+str(intcpp)
print "Lines in Pages (.html files): "+str(inthtml)
print "----------------------------------------"
print "\n"
print "::: "+str(intheaders + intcpp)+" LINES IN SUMMARY :::"
print "::: "+str(intheaders + intcpp + inthtml)+" LINES IN SUMMARY :::"
print "\n"

@ -22,8 +22,6 @@
#include "webpage.h"
#include "qtwin.h"
#include "pagethumbnailer.h"
AboutDialog::AboutDialog(QWidget* parent) :
QDialog(parent),
ui(new Ui::AboutDialog)
@ -40,10 +38,6 @@ AboutDialog::AboutDialog(QWidget* parent) :
connect(ui->authorsButton, SIGNAL(clicked()), this, SLOT(buttonClicked()));
showAbout();
PageThumbnailer* p = new PageThumbnailer(this);
p->setUrl(QUrl("http://qupzilla.co.cc"));
p->start();
}
void AboutDialog::buttonClicked()

Loading…
Cancel
Save