src/primitives.cpp

changeset 538
2f85d4d286e5
parent 513
29eb671b34f6
child 539
72ad83a67165
equal deleted inserted replaced
537:1add0ee96fb3 538:2f85d4d286e5
14 * 14 *
15 * You should have received a copy of the GNU General Public License 15 * You should have received a copy of the GNU General Public License
16 * along with this program. If not, see <http://www.gnu.org/licenses/>. 16 * along with this program. If not, see <http://www.gnu.org/licenses/>.
17 */ 17 */
18 18
19 // TODO: I believe the multi-threading is unnecessary here. Get rid of it.
20
19 #include <QDir> 21 #include <QDir>
20 #include <QThread> 22 #include <QThread>
21 #include <QRegExp> 23 #include <QRegExp>
22 #include <QFileDialog> 24 #include <QFileDialog>
23 #include "file.h" 25 #include "file.h"
286 g_PrimitiveCategories << cat; 288 g_PrimitiveCategories << cat;
287 } 289 }
288 290
289 // ============================================================================= 291 // =============================================================================
290 // ----------------------------------------------------------------------------- 292 // -----------------------------------------------------------------------------
291 bool primitiveLoaderBusy() 293 bool isPrimitiveLoaderBusy()
292 { return g_primListerMutex; 294 { return g_primListerMutex;
293 } 295 }
294 296
295 // ============================================================================= 297 // =============================================================================
296 // ----------------------------------------------------------------------------- 298 // -----------------------------------------------------------------------------

mercurial