mirror of
https://github.com/markdavidlong/AppleSAWS.git
synced 2024-12-30 03:29:42 +00:00
Code cleanup.
This commit is contained in:
parent
28f6f66234
commit
5ba9a0155e
@ -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 += \
|
||||
|
@ -13,7 +13,6 @@ ApplesoftFileDetailViewer::ApplesoftFileDetailViewer(QWidget *parent) :
|
||||
{
|
||||
ui->setupUi(this);
|
||||
ui->m_varView->setSortingEnabled(true);
|
||||
|
||||
}
|
||||
|
||||
ApplesoftFileDetailViewer::~ApplesoftFileDetailViewer()
|
||||
|
@ -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;
|
||||
|
||||
|
||||
}
|
||||
|
@ -1,7 +0,0 @@
|
||||
#include "fileviewerinterface.h"
|
||||
|
||||
|
||||
void FileViewerInterface::activate()
|
||||
{
|
||||
|
||||
}
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user