Fix redisplay bug in the list page

Fix statusbar abuse.

svn path=/trunk/kdegraphics/kdvi/; revision=38113
remotes/origin/kdvi-2.0
Dima Rogozin 27 years ago
parent 3d45131c30
commit 5225719889
  1. 16
      kdvi.cpp
  2. 1
      marklist.cpp

@ -3,6 +3,8 @@
//
// Previewer for TeX DVI files.
//
#include <unistd.h>
#include <signal.h>
#include <qlayout.h>
#include <qdir.h>
@ -11,11 +13,12 @@
#include <qpushbutton.h>
#include <qtooltip.h>
#include <qapplication.h>
#include <qgroupbox.h>
#include <qfileinfo.h>
#include <qkeycode.h>
#include <qlineedit.h>
#include <qframe.h>
#include <qdragobject.h>
#include <qsplitter.h>
#include <kmenubar.h>
#include <kmessagebox.h>
@ -25,6 +28,8 @@
#include <kdebug.h>
#include <kprocess.h>
#include <kfiledialog.h>
#include <kglobal.h>
#include <kconfig.h>
#include "kdvi.h"
#include "scrbox.h"
@ -32,13 +37,6 @@
#include "pushbutton.h"
#include "prefs.h"
#include "version.h"
#include <qsplitter.h>
#include <unistd.h>
#include <signal.h>
#include <kglobal.h>
#include <qdragobject.h>
#include <kconfig.h>
enum {ID_STAT_SHRINK, ID_STAT_PAGE, ID_STAT_MSG, ID_STAT_XY};
enum {ID_OPT_PK = 3, ID_OPT_PS, ID_OPT_MB, ID_OPT_BB, ID_OPT_TB, ID_OPT_SB, ID_OPT_SC };
@ -491,8 +489,6 @@ void kdvi::openFile( QString name)
dviName = name.copy();
message( i18n("Opening ") + name + " ...");
makeStatusBar( dviName );
applyShowStatusbar();
dviwin->setFile( name );
dviwin->repaint();
setCaption( QString()+kapp->caption()+": "+name );

@ -221,6 +221,7 @@ void MarkList::changeMarks( int how, int which )
updateCell( i, 0 );
}
setUpdatesEnabled( TRUE );
repaint();
}
QStrList *MarkList::markList()

Loading…
Cancel
Save