fix windows crash on startup

requires #2101
This commit is contained in:
Jaquee 2017-06-22 12:22:04 +02:00
parent 03af06718c
commit c65ee4e71c
2 changed files with 5 additions and 4 deletions

View file

@ -29,7 +29,7 @@
import QtQml 2.0
import QtQuick 2.2
import QtQuick.Controls 2.0
//import QtQuick.Controls 2.0
import QtQuick.Controls 1.4
import QtQuick.Layouts 1.1
import QtGraphicalEffects 1.0
@ -187,8 +187,9 @@ Rectangle {
Layout.fillWidth: true
Layout.fillHeight: true
clip: true
ScrollIndicator.vertical: ScrollIndicator { }
ScrollBar.vertical: ScrollBar { } // uncomment to test
// Disabled scrollbars, gives crash on startup on windows
// ScrollIndicator.vertical: ScrollIndicator { }
// ScrollBar.vertical: ScrollBar { } // uncomment to test
// Views container
StackView {

View file

@ -76,7 +76,7 @@ int main(int argc, char *argv[])
// Log settings
Monero::Wallet::init(argv[0], "monero-wallet-gui");
qInstallMessageHandler(messageHandler);
// qInstallMessageHandler(messageHandler);
MainApp app(argc, argv);