+ issue #0002053: Support of themes

This commit is contained in:
wmayer
2015-07-12 22:54:56 +02:00
parent b52ab25322
commit f7644fc9f3
9 changed files with 86 additions and 13 deletions

View File

@@ -370,7 +370,7 @@ MainWindow::MainWindow(QWidget * parent, Qt::WFlags f)
// Python console
PythonConsole* pcPython = new PythonConsole(this);
pcPython->setWordWrapMode(QTextOption::NoWrap);
pcPython->setWindowIcon(Gui::BitmapFactory().pixmap("applications-python"));
pcPython->setWindowIcon(Gui::BitmapFactory().iconFromTheme("applications-python"));
pcPython->setObjectName
(QString::fromAscii(QT_TRANSLATE_NOOP("QDockWidget","Python console")));
pDockMgr->registerDockWindow("Std_PythonView", pcPython);