[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    kdebase/kcontrol/background
From:       Jonathan Riddell <jr () jriddell ! org>
Date:       2004-12-13 20:17:34
Message-ID: 20041213201734.126AF184FE () office ! kde ! org
[Download RAW message or body]

CVS commit by jriddell: 

UserIcon() doesn't work for running through the new kcmshell because
the app name is different, use locate() instead.


  M +1 -1      bgdialog.cpp   1.57


--- kdebase/kcontrol/background/bgdialog.cpp  #1.56:1.57
@@ -81,5 +81,5 @@ BGDialog::BGDialog(QWidget* parent, KCon
 
    // preview monitor
-   m_monitorImage->setPixmap( UserIcon( "monitor" ));
+   m_monitorImage->setPixmap( QPixmap( locate("data",  "kcontrol/pics/monitor.png") ) );
    m_monitorImage->setFixedSize(m_monitorImage->sizeHint());
    m_pMonitor = new BGMonitor(m_monitorImage, "preview monitor");


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic