From 9b6b6c1012602370351bde14d52c2bd66d7c0830 Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Thu, 26 Mar 2015 13:02:33 -0500 Subject: Bring printer1 icon into XDG compliance (cherry picked from commit fc1a94d86cc30ca3ddc2c47097664fbd8f6a44b7) --- filesharing/advanced/kcm_sambaconf/kcmprinterdlg.ui.h | 2 +- filesharing/advanced/kcm_sambaconf/printerdlgimpl.cpp | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'filesharing') diff --git a/filesharing/advanced/kcm_sambaconf/kcmprinterdlg.ui.h b/filesharing/advanced/kcm_sambaconf/kcmprinterdlg.ui.h index e1984fa8..95bbde74 100644 --- a/filesharing/advanced/kcm_sambaconf/kcmprinterdlg.ui.h +++ b/filesharing/advanced/kcm_sambaconf/kcmprinterdlg.ui.h @@ -28,7 +28,7 @@ void KcmPrinterDlg::init() { - printerPixLbl->setPixmap(DesktopIcon("printer1")); + printerPixLbl->setPixmap(DesktopIcon("printer")); } void KcmPrinterDlg::accept() diff --git a/filesharing/advanced/kcm_sambaconf/printerdlgimpl.cpp b/filesharing/advanced/kcm_sambaconf/printerdlgimpl.cpp index 55baa274..81c95f6c 100644 --- a/filesharing/advanced/kcm_sambaconf/printerdlgimpl.cpp +++ b/filesharing/advanced/kcm_sambaconf/printerdlgimpl.cpp @@ -203,7 +203,7 @@ void PrinterDlgImpl::printersChkToggled(bool b) TQPixmap pix(w,h); pix.fill(); // fill with white - TQPixmap pix2 = DesktopIcon("printer1"); + TQPixmap pix2 = DesktopIcon("printer"); // Draw the printericon three times TQPainter p(&pix); @@ -233,7 +233,7 @@ void PrinterDlgImpl::printersChkToggled(bool b) { shareNameEdit->setEnabled(true); shareNameEdit->setText( _share->getName() ); - printerPixLbl->setPixmap(DesktopIcon("printer1")); + printerPixLbl->setPixmap(DesktopIcon("printer")); pixFrame->layout()->setMargin( 11 ); } } -- cgit v1.2.1