set application window icon

This commit is contained in:
Jean-Francois Dockes
2013-02-26 11:32:39 +01:00
parent 3c8c8982e8
commit cdfff318a0
3 changed files with 4 additions and 0 deletions
Binary file not shown.

After

Width:  |  Height:  |  Size: 457 B

+3
View File
@@ -351,6 +351,9 @@ int main(int argc, char **argv)
if (!prefs.stylesheetFile.isEmpty()) {
applyStyleSheet(prefs.stylesheetFile);
}
QIcon icon;
icon.addFile(QString::fromUtf8(":/images/recoll.png"));
app.setWindowIcon(icon);
// Create main window and set its size to previous session's
RclMain w;
+1
View File
@@ -12,5 +12,6 @@
<file>images/table.png</file>
<file>images/up.png</file>
<file>images/down.png</file>
<file>images/recoll.png</file>
</qresource>
</RCC>