set application window icon
This commit is contained in:
parent
768b649c41
commit
0aaab57569
3 changed files with 4 additions and 0 deletions
BIN
src/qtgui/images/recoll.png
Normal file
BIN
src/qtgui/images/recoll.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 457 B |
|
@ -351,6 +351,9 @@ int main(int argc, char **argv)
|
||||||
if (!prefs.stylesheetFile.isEmpty()) {
|
if (!prefs.stylesheetFile.isEmpty()) {
|
||||||
applyStyleSheet(prefs.stylesheetFile);
|
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
|
// Create main window and set its size to previous session's
|
||||||
RclMain w;
|
RclMain w;
|
||||||
|
|
|
@ -12,5 +12,6 @@
|
||||||
<file>images/table.png</file>
|
<file>images/table.png</file>
|
||||||
<file>images/up.png</file>
|
<file>images/up.png</file>
|
||||||
<file>images/down.png</file>
|
<file>images/down.png</file>
|
||||||
|
<file>images/recoll.png</file>
|
||||||
</qresource>
|
</qresource>
|
||||||
</RCC>
|
</RCC>
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue