aboutsummaryrefslogtreecommitdiff
path: root/src-qt5/desktop-utils/lumina-pdf/Bookmark.h
diff options
context:
space:
mode:
authorKen Moore <ken@ixsystems.com>2019-01-02 09:31:52 -0500
committerGitHub <noreply@github.com>2019-01-02 09:31:52 -0500
commitcd407705124fefe2b293120c845319c369929c86 (patch)
tree635f1cea2c9a39ee7495396a43aa04957dad7f2a /src-qt5/desktop-utils/lumina-pdf/Bookmark.h
parentMerge pull request #644 from maxsteciuk/bugfix/lumina-fm-crash-on-startup (diff)
parentSwitches from keeping links in a QHash to a std::vector. This fixes some race... (diff)
downloadlumina-cd407705124fefe2b293120c845319c369929c86.tar.gz
lumina-cd407705124fefe2b293120c845319c369929c86.tar.bz2
lumina-cd407705124fefe2b293120c845319c369929c86.zip
Merge pull request #642 from stackyjoe/master
Some changes and fixes to LuminaPDF
Diffstat (limited to 'src-qt5/desktop-utils/lumina-pdf/Bookmark.h')
-rw-r--r--src-qt5/desktop-utils/lumina-pdf/Bookmark.h22
1 files changed, 10 insertions, 12 deletions
diff --git a/src-qt5/desktop-utils/lumina-pdf/Bookmark.h b/src-qt5/desktop-utils/lumina-pdf/Bookmark.h
index 9a78beb2..5dc158a3 100644
--- a/src-qt5/desktop-utils/lumina-pdf/Bookmark.h
+++ b/src-qt5/desktop-utils/lumina-pdf/Bookmark.h
@@ -1,17 +1,15 @@
#pragma once
class Bookmark {
- public:
- Bookmark(char *_title, char *_link, int _pagenum, int _level) :
- pagenum(_pagenum),
- level(_level)
- {
- title = QString::fromLocal8Bit(_title);
- link = QString::fromLocal8Bit(_link);
- }
+public:
+ Bookmark(char *_title, char *_link, int _pagenum, int _level)
+ : pagenum(_pagenum), level(_level) {
+ title = QString::fromLocal8Bit(_title);
+ link = QString::fromLocal8Bit(_link);
+ }
- QString title;
- QString link;
- int pagenum;
- int level;
+ QString title;
+ QString link;
+ int pagenum;
+ int level;
};
bgstack15