author | paule <paule> | 2007-01-28 06:42:33 (UTC) |
---|---|---|
committer | paule <paule> | 2007-01-28 06:42:33 (UTC) |
commit | 8cf13e6845fa0159fb7f864bf5d3c5c0a62188ff (patch) (side-by-side diff) | |
tree | 905cad7f0c3996aaf389242785be67bd6662efda /noncore/tools/remote/topgroupconf.cpp | |
parent | b17ca0982b26c0f18ccd3113906206f8fb49df2a (diff) | |
download | opie-8cf13e6845fa0159fb7f864bf5d3c5c0a62188ff.zip opie-8cf13e6845fa0159fb7f864bf5d3c5c0a62188ff.tar.gz opie-8cf13e6845fa0159fb7f864bf5d3c5c0a62188ff.tar.bz2 |
Correctly select first remote upon loading configuration
Diffstat (limited to 'noncore/tools/remote/topgroupconf.cpp') (more/less context) (show whitespace changes)
-rw-r--r-- | noncore/tools/remote/topgroupconf.cpp | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/noncore/tools/remote/topgroupconf.cpp b/noncore/tools/remote/topgroupconf.cpp index 0419a65..7df4d18 100644 --- a/noncore/tools/remote/topgroupconf.cpp +++ b/noncore/tools/remote/topgroupconf.cpp @@ -12,49 +12,48 @@ Public License for more details. You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ #include "topgroupconf.h" TopGroupConf::TopGroupConf(QWidget *parent, const char *name):QWidget(parent,name) { QHBoxLayout *layout = new QHBoxLayout(this); QPushButton *power = new QPushButton("Power",this,"power"); layout->addWidget(power); connect(power, SIGNAL(pressed()), this->parentWidget(), SLOT(buttonPressed()) ); // power->setGeometry(5, 5,40, 20); layout->addSpacing(5); QPushButton *source = new QPushButton("Source",this,"source"); layout->addWidget(source); connect(source, SIGNAL(pressed()), this->parentWidget(), SLOT(buttonPressed()) ); // source->setGeometry(50,5,40,20); remotes = new QComboBox(true, this, "remotes"); - remotes->insertItem(QString("Remotes")); layout->addWidget(remotes); layout->setStretchFactor(remotes, 1); connect(remotes, SIGNAL(activated(const QString&)), this->parentWidget(), SLOT(remoteSelected(const QString&)) ); QPushButton *newrem = new QPushButton("New", this, "new"); layout->addWidget(newrem); connect(newrem, SIGNAL(pressed()), this->parentWidget(), SLOT(newPressed()) ); /* remotes = new QComboBox(false, this, "remotes"); connect(remotes, SIGNAL(activated(const QString&)), this->parentWidget(), SLOT(remoteSelected(const QString&)) ); remotes->insertItem("Select Remote"); // remotes->setGeometry(135,5,95,20); QLabel *remoteLabel = new QLabel(remotes, "Remote: ",this,"remoteLabel"); // remoteLabel->setGeometry(90,5,40,20); remoteLabel->setAlignment(AlignRight | AlignVCenter); layout->addWidget(remoteLabel); layout->addWidget(remotes); */ } |