summaryrefslogtreecommitdiffstats
path: root/src/gui/selectnicform.ui.h
diff options
context:
space:
mode:
authorMichal Kubecek <mkubecek@suse.cz>2015-04-14 14:22:16 +0200
committerMichal Kubecek <mkubecek@suse.cz>2015-04-15 10:54:06 +0200
commit9159a6f9ea308404227f64998c284c482f58b162 (patch)
tree06b56d2bcfc813a4fd2dc07444162e58459196bd /src/gui/selectnicform.ui.h
parent4b85e25aa5ec624a299028a30bb625248beefedd (diff)
downloadtwinkle-9159a6f9ea308404227f64998c284c482f58b162.tar
twinkle-9159a6f9ea308404227f64998c284c482f58b162.tar.gz
twinkle-9159a6f9ea308404227f64998c284c482f58b162.tar.lz
twinkle-9159a6f9ea308404227f64998c284c482f58b162.tar.xz
twinkle-9159a6f9ea308404227f64998c284c482f58b162.zip
Qt4 port step 6: QPixmap::fromMimeSource cleanup
Convert remaining uses of QPixmap::fromMimeSource() to qPixmapFromMimeSource (will be rewritten to native Qt4 resources later).
Diffstat (limited to 'src/gui/selectnicform.ui.h')
-rw-r--r--src/gui/selectnicform.ui.h4
1 files changed, 2 insertions, 2 deletions
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);