mirror of
https://github.com/YACReader/yacreader
synced 2025-07-20 22:14:41 -04:00
merged
This commit is contained in:
@ -1059,7 +1059,7 @@ void YACReaderFlowGL::keyPressEvent(QKeyEvent *event)
|
||||
|
||||
if(event->key() == Qt::Key_Up)
|
||||
{
|
||||
emit selected(centerIndex());
|
||||
//emit selected(centerIndex());
|
||||
return;
|
||||
}
|
||||
|
||||
|
@ -19,3 +19,11 @@ void YACReader::addSperator(QWidget *w)
|
||||
separator->setSeparator(true);
|
||||
w->addAction(separator);
|
||||
}
|
||||
|
||||
|
||||
QAction * YACReader::createSeparator()
|
||||
{
|
||||
QAction * a = new QAction(0);
|
||||
a->setSeparator(true);
|
||||
return a;
|
||||
}
|
||||
|
@ -55,6 +55,7 @@
|
||||
#define MAIN_WINDOW_STATE "MAIN_WINDOW_STATE"
|
||||
#define COMICS_VIEW_HEADERS "COMICS_VIEW_HEADERS"
|
||||
#define COMICS_VIEW_HEADERS_GEOMETRY "COMICS_VIEW_HEADERS_GEOMETRY"
|
||||
#define COMICS_VIEW_STATUS "COMICS_VIEW_STATUS"
|
||||
|
||||
#define NUM_DAYS_BETWEEN_VERSION_CHECKS "NUM_DAYS_BETWEEN_VERSION_CHECKS"
|
||||
#define LAST_VERSION_CHECK "LAST_VERSION_CHECK"
|
||||
@ -94,8 +95,15 @@ namespace YACReader
|
||||
SevenZNotFound = 700
|
||||
};
|
||||
|
||||
enum ComicsViewStatus
|
||||
{
|
||||
Flow,
|
||||
Grid
|
||||
};
|
||||
|
||||
QString getSettingsPath();
|
||||
void addSperator(QWidget * w);
|
||||
QAction * createSeparator();
|
||||
}
|
||||
#endif
|
||||
|
||||
|
Reference in New Issue
Block a user