Skip to content

Commit

Permalink
removing unneccessary code
Browse files Browse the repository at this point in the history
  • Loading branch information
tstaerk committed Aug 15, 2011
1 parent 2e177e6 commit e6a5944
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 3 deletions.
1 change: 0 additions & 1 deletion drawscene.cpp
Expand Up @@ -21,7 +21,6 @@ void drawscene::init()
static bool everdone=false;
if (everdone) return;
everdone=true;
qDebug() << "scenerect=" << sceneRect();
setSceneRect(0,0,views()[0]->viewport()->width(),views()[0]->viewport()->height());
}

Expand Down
2 changes: 0 additions & 2 deletions mainwindow.cpp
Expand Up @@ -35,8 +35,6 @@ void MainWindow::changeEvent(QEvent *e)

void MainWindow::setpencolor(QColor color)
{
qDebug()<<"MainWindow::setpencolor";
ui->graphicsView->scene()->setPalette(color);
((drawscene*)ui->graphicsView->scene())->setpencolor(color);
}

Expand Down

0 comments on commit e6a5944

Please sign in to comment.