diff options
author | Andrea Diamantini <adjam7@gmail.com> | 2009-04-05 16:59:46 +0200 |
---|---|---|
committer | Andrea Diamantini <adjam7@gmail.com> | 2009-04-05 16:59:46 +0200 |
commit | 87e45bf866e51193b8dad830ade347e06b8d497c (patch) | |
tree | 693c346d966059e86e68a7dfe641b416251407e2 /src/mainview.cpp | |
parent | Fixed no/no close tab confirm messagebox (diff) | |
download | rekonq-87e45bf866e51193b8dad830ade347e06b8d497c.tar.xz |
Modified loading icon displaying, from KDE icon to loading one..
Diffstat (limited to 'src/mainview.cpp')
-rw-r--r-- | src/mainview.cpp | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/mainview.cpp b/src/mainview.cpp index 0c39e418..70ce39fc 100644 --- a/src/mainview.cpp +++ b/src/mainview.cpp @@ -43,6 +43,7 @@ #include <KMessageBox> #include <KActionCollection> #include <KDebug> +#include <KStandardDirs> // Qt Includes #include <QtCore> @@ -61,6 +62,9 @@ MainView::MainView(QWidget *parent) { setTabBar(m_tabBar); + loadingGitPath = KStandardDirs::locate("appdata" , "pics/loading.gif"); + kWarning() << loadingGitPath; + connect(m_tabBar, SIGNAL(newTab()), this, SLOT(newWebView())); connect(m_tabBar, SIGNAL(closeTab(int)), this, SLOT(closeTab(int))); connect(m_tabBar, SIGNAL(cloneTab(int)), this, SLOT(cloneTab(int))); @@ -523,7 +527,8 @@ void MainView::webViewLoadStarted() int index = webViewIndex(webView); if (-1 != index) { - setTabIcon(index, KIcon("rekonq")); +// setTabIcon(index, KIcon("rekonq")); + setTabIcon(index, QIcon(loadingGitPath)); } } |