summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/browserapplication.cpp3
-rw-r--r--src/findbar.cpp2
2 files changed, 3 insertions, 2 deletions
diff --git a/src/browserapplication.cpp b/src/browserapplication.cpp
index 55c60ae9..897037ab 100644
--- a/src/browserapplication.cpp
+++ b/src/browserapplication.cpp
@@ -95,6 +95,8 @@ BrowserApplication::BrowserApplication(KCmdLineArgs *args, const QString &server
KConfigGroup group = config.group("sessions");
m_lastSession = group.readEntry( QString("lastSession"), QByteArray() );
+ setWindowIcon( KIcon("rekonq") );
+
QTimer::singleShot(0, this, SLOT( postLaunch() ) );
}
@@ -125,7 +127,6 @@ void BrowserApplication::postLaunch()
}
QWebSettings::setIconDatabasePath(directory);
- setWindowIcon( KIcon("rekonq") );
loadSettings();
// newMainWindow() needs to be called in main() for this to happen
diff --git a/src/findbar.cpp b/src/findbar.cpp
index feafb98e..14d52001 100644
--- a/src/findbar.cpp
+++ b/src/findbar.cpp
@@ -22,7 +22,7 @@
#include <KLineEdit>
#include <KAction>
-#include <KIconLoader>
+#include <KIcon>
#include <KToolBar>
#include <KStandardAction>
#include <KDialog>