summaryrefslogtreecommitdiff
path: root/src/mainview.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mainview.cpp')
-rw-r--r--src/mainview.cpp7
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));
}
}