Diffstat (limited to 'pwmanager/pwmanager/randomizer.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r-- | pwmanager/pwmanager/randomizer.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/pwmanager/pwmanager/randomizer.cpp b/pwmanager/pwmanager/randomizer.cpp index da4df78..24f9926 100644 --- a/pwmanager/pwmanager/randomizer.cpp +++ b/pwmanager/pwmanager/randomizer.cpp | |||
@@ -53,7 +53,7 @@ Randomizer::Randomizer() | |||
53 | // probe for /dev/urandom | 53 | // probe for /dev/urandom |
54 | rndDev->setName("/dev/urandom"); | 54 | rndDev->setName("/dev/urandom"); |
55 | if (rndDev->exists() && | 55 | if (rndDev->exists() && |
56 | rndDev->open(IO_ReadOnly)) { | 56 | rndDev->open(QIODevice::ReadOnly)) { |
57 | printDebug("Randomizer: using /dev/urandom"); | 57 | printDebug("Randomizer: using /dev/urandom"); |
58 | return; | 58 | return; |
59 | } | 59 | } |
@@ -61,7 +61,7 @@ Randomizer::Randomizer() | |||
61 | // probe for /dev/random | 61 | // probe for /dev/random |
62 | rndDev->setName("/dev/random"); | 62 | rndDev->setName("/dev/random"); |
63 | if (rndDev->exists() && | 63 | if (rndDev->exists() && |
64 | rndDev->open(IO_ReadOnly)) { | 64 | rndDev->open(QIODevice::ReadOnly)) { |
65 | printDebug("Randomizer: using /dev/random"); | 65 | printDebug("Randomizer: using /dev/random"); |
66 | return; | 66 | return; |
67 | } | 67 | } |
@@ -71,7 +71,7 @@ Randomizer::Randomizer() | |||
71 | if (fn) { | 71 | if (fn) { |
72 | rndDev->setName(fn); | 72 | rndDev->setName(fn); |
73 | if (rndDev->exists() && | 73 | if (rndDev->exists() && |
74 | rndDev->open(IO_ReadOnly)) { | 74 | rndDev->open(QIODevice::ReadOnly)) { |
75 | printDebug(string("Randomizer: using $RANDFILE \"") | 75 | printDebug(string("Randomizer: using $RANDFILE \"") |
76 | + fn | 76 | + fn |
77 | + "\" (aka EGD)"); | 77 | + "\" (aka EGD)"); |