From 9159a6f9ea308404227f64998c284c482f58b162 Mon Sep 17 00:00:00 2001 From: Michal Kubecek Date: Tue, 14 Apr 2015 14:22:16 +0200 Subject: Qt4 port step 6: QPixmap::fromMimeSource cleanup Convert remaining uses of QPixmap::fromMimeSource() to qPixmapFromMimeSource (will be rewritten to native Qt4 resources later). --- src/gui/selectnicform.ui.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/gui/selectnicform.ui.h') diff --git a/src/gui/selectnicform.ui.h b/src/gui/selectnicform.ui.h index 4a208ae..020a0ce 100644 --- a/src/gui/selectnicform.ui.h +++ b/src/gui/selectnicform.ui.h @@ -51,7 +51,7 @@ void SelectNicForm::setAsDefault(bool setIp) // Restore pixmap of the old default if (idxDefault != -1) { nicListBox->changeItem( - QPixmap::fromMimeSource("kcmpci16.png"), + qPixmapFromMimeSource("kcmpci16.png"), nicListBox->text(idxDefault), idxDefault); } @@ -59,7 +59,7 @@ void SelectNicForm::setAsDefault(bool setIp) // Set pixmap of the default idxDefault = idxNewDefault; nicListBox->changeItem( - QPixmap::fromMimeSource("twinkle16.png"), + qPixmapFromMimeSource("twinkle16.png"), nicListBox->text(idxDefault), idxDefault); -- cgit v1.2.3