summaryrefslogtreecommitdiffstats
path: root/filesharing/advanced/kcm_sambaconf
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2015-03-26 13:02:33 -0500
committerSlávek Banko <slavek.banko@axis.cz>2015-03-26 20:32:25 +0100
commit9b6b6c1012602370351bde14d52c2bd66d7c0830 (patch)
tree23ebefb3880c775cfe1974810390790138b386d8 /filesharing/advanced/kcm_sambaconf
parent1dac4427f964d191999bab6810607737bdc4c4fc (diff)
downloadtdenetwork-9b6b6c1012602370351bde14d52c2bd66d7c0830.tar.gz
tdenetwork-9b6b6c1012602370351bde14d52c2bd66d7c0830.zip
Bring printer1 icon into XDG compliance
(cherry picked from commit fc1a94d86cc30ca3ddc2c47097664fbd8f6a44b7)
Diffstat (limited to 'filesharing/advanced/kcm_sambaconf')
-rw-r--r--filesharing/advanced/kcm_sambaconf/kcmprinterdlg.ui.h2
-rw-r--r--filesharing/advanced/kcm_sambaconf/printerdlgimpl.cpp4
2 files changed, 3 insertions, 3 deletions
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 );
}
}