From edb07d08e92f25354e134b36d0c65d4e3d20a6d5 Mon Sep 17 00:00:00 2001 From: Wilfried Huss Date: Sun, 17 Jul 2005 19:20:15 +0000 Subject: [PATCH] Add icon and fix a warning. svn path=/trunk/KDE/kdegraphics/kdvi/; revision=435653 --- kdvi_multipage.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/kdvi_multipage.cpp b/kdvi_multipage.cpp index 8746a5aea..52f6d2680 100644 --- a/kdvi_multipage.cpp +++ b/kdvi_multipage.cpp @@ -66,7 +66,7 @@ KDVIMultiPage::KDVIMultiPage(QWidget *parentWidget, const char *widgetName, QObj DVIRenderer.setName("DVI renderer"); setRenderer(&DVIRenderer); - docInfoAction = new KAction(i18n("Document &Info"), 0, &DVIRenderer, SLOT(showInfo()), actionCollection(), "info_dvi"); + docInfoAction = new KAction(i18n("Document &Info"), "info", 0, &DVIRenderer, SLOT(showInfo()), actionCollection(), "info_dvi"); embedPSAction = new KAction(i18n("Embed External PostScript Files..."), 0, this, SLOT(slotEmbedPostScript()), actionCollection(), "embed_postscript"); new KAction(i18n("Enable All Warnings && Messages"), 0, this, SLOT(doEnableWarnings()), actionCollection(), "enable_msgs"); exportPSAction = new KAction(i18n("PostScript..."), 0, &DVIRenderer, SLOT(exportPS()), actionCollection(), "export_postscript"); @@ -365,6 +365,8 @@ void KDVIMultiPage::print() case KPrinter::Tabloid: dvips_options += "-t tabloid "; break; + default: + break; } // Orientation if ( printer->orientation() == KPrinter::Landscape )