-
Notifications
You must be signed in to change notification settings - Fork 516
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Баг: Gtk-CRITICAL **: IA__gtk_widget_get_direction: assertion 'GTK_IS_WIDGET (widget)' failed #164
Comments
у Bitcoin-qt такая же ошибка... |
Такие вещи проскакивают во многих приложениях, например qtcreator тот же. |
Ладно, не будем править в основном коде, но я оставлю тут код для смены стилей у кнопок(если кто-то захочет изменить для себя). #include <QStyleFactory> и в конструкторе, после ui->setupUi(this);, добавить ui->mapPortUpnp->setStyle(QStyleFactory::create("Windows"));
ui->bitcoinAtStartup->setStyle(QStyleFactory::create("Windows"));
ui->detachDatabases->setStyle(QStyleFactory::create("Windows"));
ui->connectSocks->setStyle(QStyleFactory::create("Windows"));
ui->connectTor->setStyle(QStyleFactory::create("Windows"));
ui->minimizeOnClose->setStyle(QStyleFactory::create("Windows"));
ui->minimizeToTray->setStyle(QStyleFactory::create("Windows"));
ui->displayAddresses->setStyle(QStyleFactory::create("Windows"));
ui->coinControlFeatures->setStyle(QStyleFactory::create("Windows")); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
В Linux Mint 17.1(интерфейс MATE) при запуске novacoin-qt из консоли и нажатии на чекбоксы в окне "Настройки->Опции" выдаются ошибки в консоль:
Gtk-CRITICAL **: IA__gtk_widget_get_direction: assertion 'GTK_IS_WIDGET (widget)' failed
Насколько я понял это проблема GTK, если чекбоксам сменить стиль на "Cleanlooks" или "Windows" то ошибки в консоли не будет.
Важно: Ошибки только выводятся в консоль, на работоспособность приложения не влияет.
Следует ли менять стили кнопкам, если да то какой стиль выбирать?
Вот такая же проблема в интернете: http://www.linux.org.ru/forum/development/10225544
The text was updated successfully, but these errors were encountered: