diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/kristall.hpp | 4 | ||||
| -rw-r--r-- | src/main.cpp | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/src/kristall.hpp b/src/kristall.hpp index 884cf03..49219cf 100644 --- a/src/kristall.hpp +++ b/src/kristall.hpp @@ -50,7 +50,7 @@ enum class AnsiEscRenderMode : int strip = 2 }; -struct PageMetadata +struct NamedUrl { QUrl location; QString title; @@ -215,7 +215,7 @@ namespace kristall //! Opens a new window with the given list of urls. //! If the list is empty, no new tab will spawned. MainWindow * openNewWindow(QVector<QUrl> const & urls); - MainWindow * openNewWindow(QVector<PageMetadata> const & urls); + MainWindow * openNewWindow(QVector<NamedUrl> const & urls); //! Returns the number of currently open windows int getWindowCount(); diff --git a/src/main.cpp b/src/main.cpp index 41f994c..bd0afb3 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -356,7 +356,7 @@ MainWindow * kristall::openNewWindow(QVector<QUrl> const & urls) //! Opens a new window with the given list of urls. //! If the list is empty, no new tab will spawned. -MainWindow * kristall::openNewWindow(QVector<PageMetadata> const & urls) +MainWindow * kristall::openNewWindow(QVector<NamedUrl> const & urls) { MainWindow * const window = new MainWindow(qApp); @@ -706,7 +706,7 @@ int main(int argc, char *argv[]) { settings.setArrayIndex(index); - QVector<PageMetadata> urls; + QVector<NamedUrl> urls; int tab_count = settings.beginReadArray("tabs"); for(int i = 0; i < tab_count; i++) |
