aboutsummaryrefslogtreecommitdiff
path: root/src-qt5/desktop-utils/lumina-screenshot
diff options
context:
space:
mode:
authorJT Pennington <jt@obs-sec.com>2017-01-02 13:58:18 -0500
committerGitHub <noreply@github.com>2017-01-02 13:58:18 -0500
commite0e857678eddfb64a980e1bd859d773fd4ff991f (patch)
treeba8788138b6f3ba220eaab01887dd88f95496fb7 /src-qt5/desktop-utils/lumina-screenshot
parentcondense lumina screenshot and remove tabs (diff)
downloadlumina-e0e857678eddfb64a980e1bd859d773fd4ff991f.tar.gz
lumina-e0e857678eddfb64a980e1bd859d773fd4ff991f.tar.bz2
lumina-e0e857678eddfb64a980e1bd859d773fd4ff991f.zip
condense lumina screenshot and remove tabs
Diffstat (limited to 'src-qt5/desktop-utils/lumina-screenshot')
-rw-r--r--src-qt5/desktop-utils/lumina-screenshot/MainUI.cpp4
1 files changed, 0 insertions, 4 deletions
diff --git a/src-qt5/desktop-utils/lumina-screenshot/MainUI.cpp b/src-qt5/desktop-utils/lumina-screenshot/MainUI.cpp
index ac17ee3e..96bc40d2 100644
--- a/src-qt5/desktop-utils/lumina-screenshot/MainUI.cpp
+++ b/src-qt5/desktop-utils/lumina-screenshot/MainUI.cpp
@@ -17,7 +17,6 @@ MainUI::MainUI() : QMainWindow(), ui(new Ui::MainUI){
XCB = new LXCB();
IMG = new ImageEditor(this);
ui->scrollArea->setWidget(IMG);
- ui->tabWidget->setCurrentWidget(ui->tab_view);
ppath = QDir::homePath();
ui->label_zoom_percent->setMinimumWidth( ui->label_zoom_percent->fontMetrics().width("200%") );
setupIcons();
@@ -64,8 +63,6 @@ MainUI::~MainUI(){}
void MainUI::setupIcons(){
//Setup the icons
- ui->tabWidget->setTabIcon(0, LXDG::findIcon("camera-web","") );
- ui->tabWidget->setTabIcon(1, LXDG::findIcon("view-preview","") );
ui->tool_save->setIcon( LXDG::findIcon("document-save","") );
ui->tool_quicksave->setIcon( LXDG::findIcon("document-edit","") );
ui->actionSave_As->setIcon( LXDG::findIcon("document-save-as","") );
@@ -179,7 +176,6 @@ void MainUI::getPixmap(){
}
this->show();
this->setGeometry(lastgeom);
- ui->tabWidget->setCurrentWidget(ui->tab_view); //view it right now
lastScreenShot = QDateTime::currentDateTime();
//Now display the pixmap on the label as well
IMG->LoadImage( cpic.toImage() );
bgstack15