diff options
| author | Mike Skec <skec@protonmail.ch> | 2021-03-17 16:06:31 +1100 |
|---|---|---|
| committer | Felix Queißner <felix@ib-queissner.de> | 2021-03-17 09:49:58 +0100 |
| commit | 1b41d31c6434feb6aa77fac8ba3fea1c9a16eaf7 (patch) | |
| tree | 7727e042b72124be847a11818f3696056bc8d35e /src/main.cpp | |
| parent | 1f8ecb6d05976e6dc8be01ba1a6f3068ed351971 (diff) | |
| download | kristall-1b41d31c6434feb6aa77fac8ba3fea1c9a16eaf7.tar.gz | |
rename PageMetadata struct to NamedUrl
PageMetadata is a little misleading. NamedUrl sounds stupid but is a bit more accurate
Diffstat (limited to 'src/main.cpp')
| -rw-r--r-- | src/main.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
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++) |
