aboutsummaryrefslogtreecommitdiff
path: root/src/browser.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/browser.cpp')
-rw-r--r--src/browser.cpp7
1 files changed, 3 insertions, 4 deletions
diff --git a/src/browser.cpp b/src/browser.cpp
index f96a881..0135a4c 100644
--- a/src/browser.cpp
+++ b/src/browser.cpp
@@ -100,7 +100,7 @@ bool Browser::preLaunch(QStringList urls)
m_networkAccessManager = new QNetworkAccessManager();
m_bookmarksManager = new BookmarksWidget;
- m_downloadManager = new DownloadDialog;
+ m_downloadManager = new DownloadsWidget;
QtWebEngine::initialize();
@@ -127,7 +127,7 @@ BookmarksWidget *Browser::bookmarks()
return m_bookmarksManager;
}
-DownloadDialog *Browser::downloads()
+DownloadsWidget *Browser::downloads()
{
return m_downloadManager;
}
@@ -150,8 +150,7 @@ void Browser::setConfigPath(const QString &path)
#ifdef Q_OS_LINUX
else if(QFile::exists("/usr/share/smolbote/poi.conf")) {
m_settings = new Settings("/usr/share/smolbote/poi.conf");
- }
- else if(QFile::exists("/usr/local/share/smolbote/poi.conf")) {
+ } else if(QFile::exists("/usr/local/share/smolbote/poi.conf")) {
m_settings = new Settings("/usr/local/share/smolbote/poi.conf");
}
#endif