[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: KDE/kdegraphics/kviewshell/plugins/dvi
From: Wilfried Huss <Wilfried.Huss () gmx ! at>
Date: 2006-06-05 20:36:11
Message-ID: 1149539771.084121.10621.nullmailer () svn ! kde ! org
[Download RAW message or body]
SVN commit 548542 by whuss:
Port of commit 548541:
Fix crash in the DVI plugin, that was introduced by my last commit.
M +9 -2 kdvi_multipage.cpp
M +2 -0 kdvi_multipage.h
--- trunk/KDE/kdegraphics/kviewshell/plugins/dvi/kdvi_multipage.cpp #548541:548542
@@ -70,8 +70,6 @@
setXMLFile("kdvi_part.rc");
- preferencesChanged();
-
enableActions(false);
// Show tip of the day, when the first main window is shown.
QTimer::singleShot(0,this,SLOT(showTipOnStart()));
@@ -89,6 +87,15 @@
}
+void KDVIMultiPage::setupObservers(DataModel* _dataModel)
+{
+ KMultiPage::setupObservers(_dataModel);
+
+ //FIXME: check if this is really needed anymore.
+ preferencesChanged();
+}
+
+
KAboutData* KDVIMultiPage::createAboutData()
{
KAboutData* about = new KAboutData("kdvi", I18N_NOOP("KDVI"), "1.3",
--- trunk/KDE/kdegraphics/kviewshell/plugins/dvi/kdvi_multipage.h #548541:548542
@@ -20,6 +20,8 @@
KDVIMultiPage(QObject *parent, const QStringList& args = QStringList());
virtual ~KDVIMultiPage();
+ virtual void setupObservers(DataModel*);
+
// Interface definition start ------------------------------------------------
/// returns the list of supported file formats
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic