Moves source code into subdirectory.

This commit is contained in:
Felix (xq) Queißner 2020-06-06 23:14:21 +02:00
parent 44e85dce67
commit 3aed883402
35 changed files with 4 additions and 3 deletions

View File

@ -8,7 +8,7 @@ A high-quality visual cross-platform gemini browser.
- `text/gemini`
- `text/html` (reduced feature set)
- `text/markdown`
- `text/*`
- `text/*`
- `image/*`
- [Outline generation](https://mq32.de/public/a50ef327f4150d870393b1989c5b41db495b56f7.png) ([Video](https://mq32.de/public/kristall-02.mp4))
- Favourite Sites
@ -67,5 +67,6 @@ Notes for OpenBSD:
- [ ] Add favicon support
- [ ] Add auto-generated "favicons"
- [ ] Check if the site follows this guideline: `#<ICON> Title` where `<ICON>` is a unicode emoji
- [ ] Opt-In: Regularly check for `domain/favicon.txt`
- [ ] Opt-In: Regularly check for `domain/favicon.ico`

View File

@ -38,7 +38,7 @@ BrowserTab::BrowserTab(MainWindow * mainWindow) :
this->updateUI();
this->ui->graphics_browser->setVisible(false);
this->ui->text_browser->setVisible(false);
this->ui->text_browser->setVisible(true);
this->ui->graphics_browser->setScene(&graphics_scene);
}
@ -50,6 +50,7 @@ BrowserTab::~BrowserTab()
void BrowserTab::navigateTo(const QUrl &url, PushToHistory mode)
{
// TODO: Implement about:// scheme!
if(url.scheme() != "gemini") {
QMessageBox::warning(this, "Kristall", "Unsupported uri scheme: " + url.scheme());
return;
@ -68,7 +69,6 @@ void BrowserTab::navigateTo(const QUrl &url, PushToHistory mode)
gemini_client.startRequest(url);
switch(mode)
{
case DontPush:

View File

Before

Width:  |  Height:  |  Size: 365 B

After

Width:  |  Height:  |  Size: 365 B

View File

Before

Width:  |  Height:  |  Size: 366 B

After

Width:  |  Height:  |  Size: 366 B

View File

Before

Width:  |  Height:  |  Size: 404 B

After

Width:  |  Height:  |  Size: 404 B

View File

Before

Width:  |  Height:  |  Size: 449 B

After

Width:  |  Height:  |  Size: 449 B

View File

Before

Width:  |  Height:  |  Size: 658 B

After

Width:  |  Height:  |  Size: 658 B

View File

Before

Width:  |  Height:  |  Size: 477 B

After

Width:  |  Height:  |  Size: 477 B

View File

Before

Width:  |  Height:  |  Size: 499 B

After

Width:  |  Height:  |  Size: 499 B

View File

Before

Width:  |  Height:  |  Size: 341 B

After

Width:  |  Height:  |  Size: 341 B

View File

Before

Width:  |  Height:  |  Size: 851 B

After

Width:  |  Height:  |  Size: 851 B

View File

Before

Width:  |  Height:  |  Size: 505 B

After

Width:  |  Height:  |  Size: 505 B

View File

Before

Width:  |  Height:  |  Size: 1.2 KiB

After

Width:  |  Height:  |  Size: 1.2 KiB