summaryrefslogtreecommitdiff
Unidiff
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/settings/networksettings/mainwindowimp.cpp2
-rw-r--r--noncore/settings/networksettings/ppp/ppp.pro2
2 files changed, 2 insertions, 2 deletions
diff --git a/noncore/settings/networksettings/mainwindowimp.cpp b/noncore/settings/networksettings/mainwindowimp.cpp
index 9efc8c2..0ddc489 100644
--- a/noncore/settings/networksettings/mainwindowimp.cpp
+++ b/noncore/settings/networksettings/mainwindowimp.cpp
@@ -398,25 +398,25 @@ void MainWindowImp::updateInterface(Interface *i){
398 typeName = "irda"; 398 typeName = "irda";
399 if(i->getInterfaceName().contains("wlan")) 399 if(i->getInterfaceName().contains("wlan"))
400 typeName = "wlan"; 400 typeName = "wlan";
401 if(i->getInterfaceName().contains("usb")) 401 if(i->getInterfaceName().contains("usb"))
402 typeName = "usb"; 402 typeName = "usb";
403 403
404 if(!i->isAttached()) 404 if(!i->isAttached())
405 typeName = "connect_no"; 405 typeName = "connect_no";
406 // Actually try to use the Module 406 // Actually try to use the Module
407 if(i->getModuleOwner() != NULL) 407 if(i->getModuleOwner() != NULL)
408 typeName = i->getModuleOwner()->getPixmapName(i); 408 typeName = i->getModuleOwner()->getPixmapName(i);
409 409
410 item->setPixmap(1, (Resource::loadPixmap(QString("networksetup/") + typeName))); 410 item->setPixmap(1, (Resource::loadPixmap(QString("networksettings/") + typeName)));
411 item->setText(2, i->getHardwareName()); 411 item->setText(2, i->getHardwareName());
412 item->setText(3, QString("(%1)").arg(i->getInterfaceName())); 412 item->setText(3, QString("(%1)").arg(i->getInterfaceName()));
413 item->setText(4, (i->getStatus()) ? i->getIp() : QString("")); 413 item->setText(4, (i->getStatus()) ? i->getIp() : QString(""));
414} 414}
415 415
416void MainWindowImp::newProfileChanged(const QString& newText){ 416void MainWindowImp::newProfileChanged(const QString& newText){
417 if(newText.length() > 0) 417 if(newText.length() > 0)
418 newProfileButton->setEnabled(true); 418 newProfileButton->setEnabled(true);
419 else 419 else
420 newProfileButton->setEnabled(false); 420 newProfileButton->setEnabled(false);
421} 421}
422 422
diff --git a/noncore/settings/networksettings/ppp/ppp.pro b/noncore/settings/networksettings/ppp/ppp.pro
index ec18a59..0e9e5b8 100644
--- a/noncore/settings/networksettings/ppp/ppp.pro
+++ b/noncore/settings/networksettings/ppp/ppp.pro
@@ -1,16 +1,16 @@
1TEMPLATE = lib 1TEMPLATE = lib
2CONFIG += qt warn_on release 2CONFIG += qt warn_on release
3 #CONFIG += qt warn_on debug 3 #CONFIG += qt warn_on debug
4DESTDIR = $(OPIEDIR)/plugins/networksetup 4DESTDIR = $(OPIEDIR)/plugins/networksettings
5 HEADERS = pppimp.h pppmodule.h 5 HEADERS = pppimp.h pppmodule.h
6 SOURCES = pppimp.cpp pppmodule.cpp 6 SOURCES = pppimp.cpp pppmodule.cpp
7 INCLUDEPATH+= $(OPIEDIR)/include ../ ../interfaces/ 7 INCLUDEPATH+= $(OPIEDIR)/include ../ ../interfaces/
8 DEPENDPATH+= $(OPIEDIR)/include 8 DEPENDPATH+= $(OPIEDIR)/include
9LIBS += -lqpe -L../interfaces/ -linterfaces 9LIBS += -lqpe -L../interfaces/ -linterfaces
10 INTERFACES= ppp.ui 10 INTERFACES= ppp.ui
11 TARGET = pppplugin 11 TARGET = pppplugin
12 VERSION = 1.0.0 12 VERSION = 1.0.0
13 13
14 14
15 15
16include ( $(OPIEDIR)/include.pro ) 16include ( $(OPIEDIR)/include.pro )