summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrea Diamantini <adjam7@gmail.com>2008-12-06 23:36:06 +0100
committerAndrea Diamantini <adjam7@gmail.com>2008-12-06 23:36:06 +0100
commit6f1c8c3bddd3621ed4925853097237913ff9ff99 (patch)
tree7ef6e1f3566f8c8cb3284637ca88185ae0d8052f
parentQTabWidget --> KTabWidget (diff)
downloadrekonq-6f1c8c3bddd3621ed4925853097237913ff9ff99.tar.xz
Fixed Window Icon
-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>