Skip to content

Commit

Permalink
Remove extra debugging information
Browse files Browse the repository at this point in the history
  • Loading branch information
thomassross committed Mar 8, 2016
1 parent ab0d492 commit d1fa5ee
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 12 deletions.
4 changes: 0 additions & 4 deletions Source/LibraryCarouselView.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -32,10 +32,6 @@ LibraryCarouselView::LibraryCarouselView(QSettings* p, Library* library, QWidget
init(p);

QList<Game> games = Library::db.getGames();
for (auto game : games)
{
qDebug() << game.id << game.gameName << game.gameDirectory << game.executablePath;
}

connect(&Library::db, &Database::dbChanged, this, &LibraryCarouselView::refreshGames);

Expand Down
4 changes: 0 additions & 4 deletions Source/LibraryGridView.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -32,10 +32,6 @@ LibraryGridView::LibraryGridView(QSettings* p, Library* library, QWidget* parent
init(p);

QList<Game> games = Library::db.getGames();
/*for (auto game : games)
{
qDebug() << game.id << game.gameName << game.gameDirectory << game.executablePath;
}*/

connect(&Library::db, &Database::dbChanged, this, &LibraryGridView::refreshGames);

Expand Down
4 changes: 0 additions & 4 deletions Source/News.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,6 @@ News::News(QSettings* p, QWidget* parent) :
void News::loadFeeds()
{

qDebug() << "load called" << endl;
headlines.clear();
clearLayout(firstColumn);
clearLayout(secondColumn);
Expand Down Expand Up @@ -89,7 +88,6 @@ void News::loadXMLfromUrls()
feedLabel = sortaDomain.left(sortaDomain.length() - 1);
}

qDebug() << "Fetch compete";
if (reply->error())
{
qDebug("Error with network request");
Expand All @@ -112,7 +110,6 @@ void News::loadFeedUrlsFromSettings()
{
settings.setArrayIndex(i);
QString current = settings.value("url").toString();
qDebug() << "Read URL " << current << endl;
feedUrls.append(current);
}
}
Expand Down Expand Up @@ -221,7 +218,6 @@ void News::reloadHeadlines()
{
int size = headlines.size();
if (size == 0) return;
qDebug() << "Total Size " << size << endl;
//Initialize an array to keep track of which items were already inserted into the view
bool* inserted = new bool[size];
for (int i = 0; i < size; ++i)
Expand Down

0 comments on commit d1fa5ee

Please sign in to comment.