History

Don't try to set the current directory to a QRC path

Brad Davis committed 8 years ago

Commit ab4e2d91 parent 867bb991 file · +0 −1Browse files

Showing the changes to interface/src/ui/BaseLogDialog.cpp (1 of 1 file). Show all

Unified · Split

interface/src/ui/BaseLogDialog.cpp+0−1
@@ -39,7 +39,6 @@ BaseLogDialog::BaseLogDialog(QWidget* parent) : QDialog(parent, Qt::Window) { · 38 unmodified lines
39 39
40 QFile styleSheet(PathUtils::resourcesPath() + "styles/log_dialog.qss");40 QFile styleSheet(PathUtils::resourcesPath() + "styles/log_dialog.qss");
41 if (styleSheet.open(QIODevice::ReadOnly)) {41 if (styleSheet.open(QIODevice::ReadOnly)) {
42 QDir::setCurrent(PathUtils::resourcesPath());
43 setStyleSheet(styleSheet.readAll());42 setStyleSheet(styleSheet.readAll());
44 }43 }
45 44