Code cleanup.

This commit is contained in:
Mark Long 2016-10-15 18:14:30 -05:00
parent 28f6f66234
commit 5ba9a0155e
5 changed files with 1 additions and 15 deletions

View File

@ -55,8 +55,7 @@ SOURCES += \
src/ui/widgets/characterwidget.cpp \
src/ui/viewers/applesoftfiledetailviewer.cpp \
src/ui/widgets/hexconverter.cpp \
src/ui/viewers/viewerbase.cpp \
src/ui/viewers/fileviewerinterface.cpp
src/ui/viewers/viewerbase.cpp
HEADERS += \

View File

@ -13,7 +13,6 @@ ApplesoftFileDetailViewer::ApplesoftFileDetailViewer(QWidget *parent) :
{
ui->setupUi(this);
ui->m_varView->setSortingEnabled(true);
}
ApplesoftFileDetailViewer::~ApplesoftFileDetailViewer()

View File

@ -193,7 +193,6 @@ void ApplesoftFileViewer::findText()
count++;
int position = highlightCursor.position();
highlightCursor.setPosition(position,QTextCursor::KeepAnchor);
//highlightCursor.movePosition(QTextCursor::WordRight,QTextCursor::KeepAnchor);
highlightCursor.mergeCharFormat(colorFormat);
}
}
@ -203,6 +202,4 @@ void ApplesoftFileViewer::findText()
ui->textArea->ensureCursorVisible();
m_isFirstFind = false;
}

View File

@ -1,7 +0,0 @@
#include "fileviewerinterface.h"
void FileViewerInterface::activate()
{
}

View File

@ -19,7 +19,6 @@ public:
bool canPrint() const { return false; }
public slots:
virtual void activate();
virtual void setFile(GenericFile *file) = 0;
void doPrint() { }
@ -32,5 +31,4 @@ protected:
QString m_title;
};
#endif // FILEVIEWERINTERFACE_H