aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortrialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38>2014-04-19 07:08:38 +0000
committertrialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38>2014-04-19 07:08:38 +0000
commit832643f42c20dd7b050580729149db3a64de8b45 (patch)
treefd1c0e82fc230aa4fecf9bc9401e657eadc0b391
parentba29477b45e711391e078c01f3caee485fc64747 (diff)
downloadqmmp-832643f42c20dd7b050580729149db3a64de8b45.tar.gz
qmmp-832643f42c20dd7b050580729149db3a64de8b45.tar.bz2
qmmp-832643f42c20dd7b050580729149db3a64de8b45.zip
hal/udisks plugins: encreased disk size
git-svn-id: http://svn.code.sf.net/p/qmmp-dev/code/trunk/qmmp@4261 90c681e8-e032-0410-971d-27865f9a5e38
-rw-r--r--src/plugins/General/hal/halplugin.cpp4
-rw-r--r--src/plugins/General/udisks/udisksplugin.cpp4
2 files changed, 4 insertions, 4 deletions
diff --git a/src/plugins/General/hal/halplugin.cpp b/src/plugins/General/hal/halplugin.cpp
index 936d3d291..90f59bf65 100644
--- a/src/plugins/General/hal/halplugin.cpp
+++ b/src/plugins/General/hal/halplugin.cpp
@@ -1,5 +1,5 @@
/***************************************************************************
- * Copyright (C) 2009-2013 by Ilya Kotov *
+ * Copyright (C) 2009-2014 by Ilya Kotov *
* forkotov02@hotmail.ru *
* *
* This program is free software; you can redistribute it and/or modify *
@@ -116,7 +116,7 @@ void HalPlugin::addDevice(const QString &udi)
return;
}
- if (device->property("volume.size").toLongLong() < 17000000000LL &&
+ if (device->property("volume.size").toLongLong() < 40000000000LL &&
(device->property("volume.fstype").toString() == "vfat" ||
device->property("volume.fstype").toString() == "iso" ||
device->property("volume.fstype").toString() == "udf" ||
diff --git a/src/plugins/General/udisks/udisksplugin.cpp b/src/plugins/General/udisks/udisksplugin.cpp
index 5034c992e..38abd7d21 100644
--- a/src/plugins/General/udisks/udisksplugin.cpp
+++ b/src/plugins/General/udisks/udisksplugin.cpp
@@ -1,5 +1,5 @@
/***************************************************************************
- * Copyright (C) 2010-2013 by Ilya Kotov *
+ * Copyright (C) 2010-2014 by Ilya Kotov *
* forkotov02@hotmail.ru *
* *
* This program is free software; you can redistribute it and/or modify *
@@ -111,7 +111,7 @@ void UDisksPlugin::addDevice(QDBusObjectPath o)
delete device;
return;
}
- if (device->property("PartitionSize").toLongLong() < 17000000000LL &&
+ if (device->property("PartitionSize").toLongLong() < 40000000000LL &&
(device->property("IdType").toString() == "vfat" ||
device->property("IdType").toString() == "iso9660" ||
device->property("IdType").toString() == "udf" ||