diff options
author | Ken Moore <ken@ixsystems.com> | 2017-07-31 13:57:28 -0400 |
---|---|---|
committer | Ken Moore <ken@ixsystems.com> | 2017-07-31 13:57:28 -0400 |
commit | 3c084487233a81223c85afd109e47f64093bd5dc (patch) | |
tree | e27be2f2605d6db8495c897e7e6c1417f4ee1e4b /src-qt5/desktop-utils/lumina-screenshot | |
parent | Fix the clearing of the QT_AUTO_SCREEN_SCALE_FACTOR variable on start of the ... (diff) | |
download | lumina-3c084487233a81223c85afd109e47f64093bd5dc.tar.gz lumina-3c084487233a81223c85afd109e47f64093bd5dc.tar.bz2 lumina-3c084487233a81223c85afd109e47f64093bd5dc.zip |
Remove a bunch of debug lines from lumina-screenshot
Diffstat (limited to 'src-qt5/desktop-utils/lumina-screenshot')
-rw-r--r-- | src-qt5/desktop-utils/lumina-screenshot/MainUI.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src-qt5/desktop-utils/lumina-screenshot/MainUI.cpp b/src-qt5/desktop-utils/lumina-screenshot/MainUI.cpp index f9a54965..c894bdf8 100644 --- a/src-qt5/desktop-utils/lumina-screenshot/MainUI.cpp +++ b/src-qt5/desktop-utils/lumina-screenshot/MainUI.cpp @@ -229,7 +229,7 @@ bool MainUI::getWindow(){ void MainUI::getPixmap(){ QScreen *scrn = QApplication::screens().at(0); QPixmap cpic; - qDebug() << "Grab Pixmap:" << cwin; + //qDebug() << "Grab Pixmap:" << cwin; if( (cwin==0 && ui->radio_window->isChecked() ) || ui->radio_all->isChecked() ){ //Grab the whole screen cpic = scrn->grabWindow(QApplication::desktop()->winId()); @@ -238,7 +238,7 @@ void MainUI::getPixmap(){ cpic = scrn->grabWindow(QApplication::desktop()->winId(), geom.x(), geom.y(), geom.width(), geom.height() ); }else if(cwin==0 && ui->radio_area->isChecked()){ //Grab the section of the screen which was selected - qDebug() << "Screen Area:" << snapArea; + //qDebug() << "Screen Area:" << snapArea; cpic = scrn->grabWindow(QApplication::desktop()->winId(), snapArea.x(), snapArea.y(), snapArea.width(), snapArea.height() ); }else{ //Grab just the designated window @@ -296,15 +296,15 @@ void MainUI::mouseReleaseEvent(QMouseEvent *ev){ QList<WId> wins = XCB->WindowList(); QList<WId> stack = XCB->WM_Get_Client_List(true); cwin = 0; - qDebug() << "Try to select window:" << ev->globalPos() << ev->pos() << QCursor::pos(); + //qDebug() << "Try to select window:" << ev->globalPos() << ev->pos() << QCursor::pos(); for(int i=stack.length()-1; i>=0 && cwin==0; i--){ //work top->bottom in the stacking order if(!wins.contains(stack[i])){ continue; } if( XCB->WindowGeometry(stack[i], true).contains(ev->globalPos()) && XCB->WindowState(stack[i])!=LXCB::INVISIBLE ){ - qDebug() << "Found Window:" << i << XCB->WindowClass(stack[i]) << XCB->WindowGeometry(stack[i], true); + //qDebug() << "Found Window:" << i << XCB->WindowClass(stack[i]) << XCB->WindowGeometry(stack[i], true); cwin = stack[i]; } } - qDebug() << " - Got window:" << cwin; + //qDebug() << " - Got window:" << cwin; if(cwin==this->winId()){ return; } //cancelled } this->hide(); |