[pktools] 247/375: pkcrop-gui band selection

Bas Couwenberg sebastic at xs4all.nl
Wed Dec 3 21:54:18 UTC 2014


This is an automated email from the git hooks/post-receive script.

sebastic-guest pushed a commit to branch upstream-master
in repository pktools.

commit 870076d4d7662a7fab6fba0ad9541f35c9a6c3d9
Author: Pieter Kempeneers <kempenep at gmail.com>
Date:   Wed Apr 23 19:03:33 2014 +0200

    pkcrop-gui band selection
---
 qt/pkcrop_gui/mainwindow.cc        | 3 +--
 qt/pkextract_gui/pkextract_gui.pro | 2 +-
 2 files changed, 2 insertions(+), 3 deletions(-)

diff --git a/qt/pkcrop_gui/mainwindow.cc b/qt/pkcrop_gui/mainwindow.cc
index 5f2b52b..3b9e439 100644
--- a/qt/pkcrop_gui/mainwindow.cc
+++ b/qt/pkcrop_gui/mainwindow.cc
@@ -131,8 +131,7 @@ void MainWindow::on_actionInput_triggered()
     int nband=p_stdout.section(' ',1).toInt();
     QStringList bandlist;
     for(int iband=0;iband<nband;++iband){
-        QString qsband="band";
-        qsband+=QString::number(iband);
+        QString qsband=QString::number(iband);
         bandlist << qsband;
     }
     ui->listWidget_band->addItems(bandlist);
diff --git a/qt/pkextract_gui/pkextract_gui.pro b/qt/pkextract_gui/pkextract_gui.pro
index 2ba0a14..0f1509f 100644
--- a/qt/pkextract_gui/pkextract_gui.pro
+++ b/qt/pkextract_gui/pkextract_gui.pro
@@ -8,7 +8,7 @@ QT       += core gui
 
 greaterThan(QT_MAJOR_VERSION, 4): QT += widgets
 
-TARGET = pkexgtract_gui
+TARGET = pkextract_gui
 TEMPLATE = app
 
 

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-grass/pktools.git



More information about the Pkg-grass-devel mailing list