From b86723182311fa621451c2641acf62b3b89dceeb Mon Sep 17 00:00:00 2001 From: drw Date: Wed, 15 Jun 2005 19:04:33 +0000 Subject: Resource -> OResource and fix compiler warning --- (limited to 'noncore/settings/networksettings/ppp/edit.cpp') diff --git a/noncore/settings/networksettings/ppp/edit.cpp b/noncore/settings/networksettings/ppp/edit.cpp index 6c9735c..0abf161 100644 --- a/noncore/settings/networksettings/ppp/edit.cpp +++ b/noncore/settings/networksettings/ppp/edit.cpp @@ -29,7 +29,9 @@ #include "auth.h" /* OPIE */ -#include +#include + +#include #include /* QT */ @@ -83,9 +85,11 @@ DialWidget::DialWidget( PPPData *pd, QWidget *parent, bool isnewaccount del = new QPushButton(tr("&Remove"), this); up = new QPushButton(this); - up->setPixmap( Resource::loadPixmap("up") ); + up->setPixmap( Opie::Core::OResource::loadPixmap("up", Opie::Core::OResource::SmallIcon) ); + up->setMinimumHeight( AppLnk::smallIconSize()+4 ); down = new QPushButton(this); - down->setPixmap( Resource::loadPixmap("down") ); + down->setPixmap( Opie::Core::OResource::loadPixmap("down", Opie::Core::OResource::SmallIcon) ); + down->setMinimumHeight( AppLnk::smallIconSize()+4 ); lpn1->addWidget(add); lpn1->addWidget(del); lpn1->addStretch(1); -- cgit v0.9.0.2