guiqt.cpp: Set window icon for Linux.
parent
f67c3e32dd
commit
0956bf3599
|
@ -1053,6 +1053,12 @@ int main(int argc, char** argv) {
|
||||||
QCoreApplication::setAttribute(Qt::AA_ShareOpenGLContexts, true);
|
QCoreApplication::setAttribute(Qt::AA_ShareOpenGLContexts, true);
|
||||||
|
|
||||||
QApplication app(argc, argv);
|
QApplication app(argc, argv);
|
||||||
|
|
||||||
|
#ifdef __linux
|
||||||
|
QIcon icon("/usr/share/icons/hicolor/48x48/apps/solvespace.png");
|
||||||
|
app.setWindowIcon(icon);
|
||||||
|
#endif
|
||||||
|
|
||||||
Platform::Open3DConnexion();
|
Platform::Open3DConnexion();
|
||||||
SS.Init();
|
SS.Init();
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue